"use strict";(self.webpackChunkaccordion_sample=self.webpackChunkaccordion_sample||[]).push([["vendor"],{6099:(Ze,de,N)=>{N.d(de,{F:()=>$});var _=N(4929),I=function(){function B(U){void 0===U&&(U={}),this.adapter=U}return Object.defineProperty(B,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(B,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(B,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(B,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),B.prototype.init=function(){},B.prototype.destroy=function(){},B}(),ue=function(){function B(U,S){for(var T=[],W=2;W<arguments.length;W++)T[W-2]=arguments[W];this.root=U,this.initialize.apply(this,(0,_.ev)([],(0,_.CR)(T))),this.foundation=void 0===S?this.getDefaultFoundation():S,this.foundation.init(),this.initialSyncWithDOM()}return B.attachTo=function(U){return new B(U,new I({}))},B.prototype.initialize=function(){for(var U=[],S=0;S<arguments.length;S++)U[S]=arguments[S]},B.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},B.prototype.initialSyncWithDOM=function(){},B.prototype.destroy=function(){this.foundation.destroy()},B.prototype.listen=function(U,S,T){this.root.addEventListener(U,S,T)},B.prototype.unlisten=function(U,S,T){this.root.removeEventListener(U,S,T)},B.prototype.emit=function(U,S,T){var W;void 0===T&&(T=!1),"function"==typeof CustomEvent?W=new CustomEvent(U,{bubbles:T,detail:S}):(W=document.createEvent("CustomEvent")).initCustomEvent(U,T,!1,S),this.root.dispatchEvent(W)},B}();function pe(B){return void 0===B&&(B=window),!!function Ee(B){void 0===B&&(B=window);var U=!1;try{var S={get passive(){return U=!0,!1}},T=function(){};B.document.addEventListener("test",T,S),B.document.removeEventListener("test",T,S)}catch{U=!1}return U}(B)&&{passive:!0}}var ee,Y={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},De={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Qe={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},Pe=["touchstart","pointerdown","mousedown","keydown"],Xe=["touchend","pointerup","mouseup","contextmenu"],Je=[],fe=function(B){function U(S){var T=B.call(this,(0,_.pi)((0,_.pi)({},U.defaultAdapter),S))||this;return T.activationAnimationHasEnded=!1,T.activationTimer=0,T.fgDeactivationRemovalTimer=0,T.fgScale="0",T.frame={width:0,height:0},T.initialSize=0,T.layoutFrame=0,T.maxRadius=0,T.unboundedCoords={left:0,top:0},T.activationState=T.defaultActivationState(),T.activationTimerCallback=function(){T.activationAnimationHasEnded=!0,T.runDeactivationUXLogicIfReady()},T.activateHandler=function(W){T.activateImpl(W)},T.deactivateHandler=function(){T.deactivateImpl()},T.focusHandler=function(){T.handleFocus()},T.blurHandler=function(){T.handleBlur()},T.resizeHandler=function(){T.layout()},T}return(0,_.ZT)(U,B),Object.defineProperty(U,"cssClasses",{get:function(){return Y},enumerable:!1,configurable:!0}),Object.defineProperty(U,"strings",{get:function(){return De},enumerable:!1,configurable:!0}),Object.defineProperty(U,"numbers",{get:function(){return Qe},enumerable:!1,configurable:!0}),Object.defineProperty(U,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),U.prototype.init=function(){var S=this,T=this.supportsPressRipple();if(this.registerRootHandlers(T),T){var W=U.cssClasses,A=W.ROOT,F=W.UNBOUNDED;requestAnimationFrame(function(){S.adapter.addClass(A),S.adapter.isUnbounded()&&(S.adapter.addClass(F),S.layoutInternal())})}},U.prototype.destroy=function(){var S=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(U.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(U.cssClasses.FG_DEACTIVATION));var T=U.cssClasses,W=T.ROOT,A=T.UNBOUNDED;requestAnimationFrame(function(){S.adapter.removeClass(W),S.adapter.removeClass(A),S.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},U.prototype.activate=function(S){this.activateImpl(S)},U.prototype.deactivate=function(){this.deactivateImpl()},U.prototype.layout=function(){var S=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){S.layoutInternal(),S.layoutFrame=0})},U.prototype.setUnbounded=function(S){var T=U.cssClasses.UNBOUNDED;S?this.adapter.addClass(T):this.adapter.removeClass(T)},U.prototype.handleFocus=function(){var S=this;requestAnimationFrame(function(){return S.adapter.addClass(U.cssClasses.BG_FOCUSED)})},U.prototype.handleBlur=function(){var S=this;requestAnimationFrame(function(){return S.adapter.removeClass(U.cssClasses.BG_FOCUSED)})},U.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},U.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},U.prototype.registerRootHandlers=function(S){var T,W;if(S){try{for(var A=(0,_.XA)(Pe),F=A.next();!F.done;F=A.next())this.adapter.registerInteractionHandler(F.value,this.activateHandler)}catch(x){T={error:x}}finally{try{F&&!F.done&&(W=A.return)&&W.call(A)}finally{if(T)throw T.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},U.prototype.registerDeactivationHandlers=function(S){var T,W;if("keydown"===S.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var A=(0,_.XA)(Xe),F=A.next();!F.done;F=A.next())this.adapter.registerDocumentInteractionHandler(F.value,this.deactivateHandler)}catch(x){T={error:x}}finally{try{F&&!F.done&&(W=A.return)&&W.call(A)}finally{if(T)throw T.error}}},U.prototype.deregisterRootHandlers=function(){var S,T;try{for(var W=(0,_.XA)(Pe),A=W.next();!A.done;A=W.next())this.adapter.deregisterInteractionHandler(A.value,this.activateHandler)}catch(z){S={error:z}}finally{try{A&&!A.done&&(T=W.return)&&T.call(W)}finally{if(S)throw S.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},U.prototype.deregisterDeactivationHandlers=function(){var S,T;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var W=(0,_.XA)(Xe),A=W.next();!A.done;A=W.next())this.adapter.deregisterDocumentInteractionHandler(A.value,this.deactivateHandler)}catch(z){S={error:z}}finally{try{A&&!A.done&&(T=W.return)&&T.call(W)}finally{if(S)throw S.error}}},U.prototype.removeCssVars=function(){var S=this,T=U.strings;Object.keys(T).forEach(function(A){0===A.indexOf("VAR_")&&S.adapter.updateCssVariable(T[A],null)})},U.prototype.activateImpl=function(S){var T=this;if(!this.adapter.isSurfaceDisabled()){var W=this.activationState;if(!W.isActivated){var A=this.previousActivationEvent;if(!A||void 0===S||A.type===S.type){if(W.isActivated=!0,W.isProgrammatic=void 0===S,W.activationEvent=S,W.wasActivatedByPointer=!W.isProgrammatic&&void 0!==S&&("mousedown"===S.type||"touchstart"===S.type||"pointerdown"===S.type),void 0!==S&&Je.length>0&&Je.some(function(x){return T.adapter.containsEventTarget(x)}))return void this.resetActivationState();void 0!==S&&(Je.push(S.target),this.registerDeactivationHandlers(S)),W.wasElementMadeActive=this.checkElementMadeActive(S),W.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){Je=[],!W.wasElementMadeActive&&void 0!==S&&(" "===S.key||32===S.keyCode)&&(W.wasElementMadeActive=T.checkElementMadeActive(S),W.wasElementMadeActive&&T.animateActivation()),W.wasElementMadeActive||(T.activationState=T.defaultActivationState())})}}}},U.prototype.checkElementMadeActive=function(S){return void 0===S||"keydown"!==S.type||this.adapter.isSurfaceActive()},U.prototype.animateActivation=function(){var S=this,T=U.strings,W=T.VAR_FG_TRANSLATE_START,A=T.VAR_FG_TRANSLATE_END,F=U.cssClasses,z=F.FG_DEACTIVATION,x=F.FG_ACTIVATION,q=U.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var K="",he="";if(!this.adapter.isUnbounded()){var ke=this.getFgTranslationCoordinates(),dt=ke.startPoint,Ue=ke.endPoint;K=dt.x+"px, "+dt.y+"px",he=Ue.x+"px, "+Ue.y+"px"}this.adapter.updateCssVariable(W,K),this.adapter.updateCssVariable(A,he),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(z),this.adapter.computeBoundingRect(),this.adapter.addClass(x),this.activationTimer=setTimeout(function(){S.activationTimerCallback()},q)},U.prototype.getFgTranslationCoordinates=function(){var A,S=this.activationState;return A=S.wasActivatedByPointer?function _e(B,U,S){if(!B)return{x:0,y:0};var z,x,A=U.x+S.left,F=U.y+S.top;return"touchstart"===B.type?(z=B.changedTouches[0].pageX-A,x=B.changedTouches[0].pageY-F):(z=B.pageX-A,x=B.pageY-F),{x:z,y:x}}(S.activationEvent,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:A={x:A.x-this.initialSize/2,y:A.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},U.prototype.runDeactivationUXLogicIfReady=function(){var S=this,T=U.cssClasses.FG_DEACTIVATION,W=this.activationState;(W.hasDeactivationUXRun||!W.isActivated)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(T),this.fgDeactivationRemovalTimer=setTimeout(function(){S.adapter.removeClass(T)},Qe.FG_DEACTIVATION_MS))},U.prototype.rmBoundedActivationClasses=function(){this.adapter.removeClass(U.cssClasses.FG_ACTIVATION),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},U.prototype.resetActivationState=function(){var S=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return S.previousActivationEvent=void 0},U.numbers.TAP_DELAY_MS)},U.prototype.deactivateImpl=function(){var S=this,T=this.activationState;if(T.isActivated){var W=(0,_.pi)({},T);T.isProgrammatic?(requestAnimationFrame(function(){S.animateDeactivation(W)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){S.activationState.hasDeactivationUXRun=!0,S.animateDeactivation(W),S.resetActivationState()}))}},U.prototype.animateDeactivation=function(S){(S.wasActivatedByPointer||S.wasElementMadeActive)&&this.runDeactivationUXLogicIfReady()},U.prototype.layoutInternal=function(){this.frame=this.adapter.computeBoundingRect();var T=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?T:Math.sqrt(Math.pow(this.frame.width,2)+Math.pow(this.frame.height,2))+U.numbers.PADDING;var A=Math.floor(T*U.numbers.INITIAL_ORIGIN_SCALE);this.initialSize=this.adapter.isUnbounded()&&A%2!=0?A-1:A,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},U.prototype.updateLayoutCssVars=function(){var S=U.strings,W=S.VAR_LEFT,A=S.VAR_TOP,F=S.VAR_FG_SCALE;this.adapter.updateCssVariable(S.VAR_FG_SIZE,this.initialSize+"px"),this.adapter.updateCssVariable(F,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(W,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(A,this.unboundedCoords.top+"px"))},U}(I),$=function(B){function U(){var S=null!==B&&B.apply(this,arguments)||this;return S.disabled=!1,S}return(0,_.ZT)(U,B),U.attachTo=function(S,T){void 0===T&&(T={isUnbounded:void 0});var W=new U(S);return void 0!==T.isUnbounded&&(W.unbounded=T.isUnbounded),W},U.createAdapter=function(S){return{addClass:function(T){return S.root.classList.add(T)},browserSupportsCssVars:function(){return function je(B,U){void 0===U&&(U=!1);var T,S=B.CSS;if("boolean"==typeof ee&&!U)return ee;if(!S||"function"!=typeof S.supports)return!1;var A=S.supports("--css-vars","yes"),F=S.supports("(--css-vars: yes)")&&S.supports("color","#00000000");return T=A||F,U||(ee=T),T}(window)},computeBoundingRect:function(){return S.root.getBoundingClientRect()},containsEventTarget:function(T){return S.root.contains(T)},deregisterDocumentInteractionHandler:function(T,W){return document.documentElement.removeEventListener(T,W,pe())},deregisterInteractionHandler:function(T,W){return S.root.removeEventListener(T,W,pe())},deregisterResizeHandler:function(T){return window.removeEventListener("resize",T)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return function ge(B,U){return(B.matches||B.webkitMatchesSelector||B.msMatchesSelector).call(B,U)}(S.root,":active")},isSurfaceDisabled:function(){return Boolean(S.disabled)},isUnbounded:function(){return Boolean(S.unbounded)},registerDocumentInteractionHandler:function(T,W){return document.documentElement.addEventListener(T,W,pe())},registerInteractionHandler:function(T,W){return S.root.addEventListener(T,W,pe())},registerResizeHandler:function(T){return window.addEventListener("resize",T)},removeClass:function(T){return S.root.classList.remove(T)},updateCssVariable:function(T,W){return S.root.style.setProperty(T,W)}}},Object.defineProperty(U.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(S){this.isUnbounded=Boolean(S),this.setUnbounded()},enumerable:!1,configurable:!0}),U.prototype.activate=function(){this.foundation.activate()},U.prototype.deactivate=function(){this.foundation.deactivate()},U.prototype.layout=function(){this.foundation.layout()},U.prototype.getDefaultFoundation=function(){return new fe(U.createAdapter(this))},U.prototype.initialSyncWithDOM=function(){this.isUnbounded="mdcRippleIsUnbounded"in this.root.dataset},U.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},U}(ue)},6317:(Ze,de,N)=>{N.d(de,{X:()=>I});var _=N(253);class I extends _.x{constructor(ue){super(),this._value=ue}get value(){return this.getValue()}_subscribe(ue){const ne=super._subscribe(ue);return!ne.closed&&ue.next(this._value),ne}getValue(){const{hasError:ue,thrownError:ne,_value:pe}=this;if(ue)throw ne;return this._throwIfClosed(),pe}next(ue){super.next(this._value=ue)}}},3336:(Ze,de,N)=>{N.d(de,{y:()=>ce});var _=N(5463),I=N(7714),J=N(4585),ue=N(9173);var Ee=N(9057),Oe=N(2971),ge=N(2309);let ce=(()=>{class ee{constructor(_e){_e&&(this._subscribe=_e)}lift(_e){const Pe=new ee;return Pe.source=this,Pe.operator=_e,Pe}subscribe(_e,Pe,Xe){const Je=function Qe(ee){return ee&&ee instanceof _.Lv||function De(ee){return ee&&(0,Oe.m)(ee.next)&&(0,Oe.m)(ee.error)&&(0,Oe.m)(ee.complete)}(ee)&&(0,I.Nn)(ee)}(_e)?_e:new _.Hp(_e,Pe,Xe);return(0,ge.x)(()=>{const{operator:fe,source:re}=this;Je.add(fe?fe.call(Je,re):re?this._subscribe(Je):this._trySubscribe(Je))}),Je}_trySubscribe(_e){try{return this._subscribe(_e)}catch(Pe){_e.error(Pe)}}forEach(_e,Pe){return new(Pe=Y(Pe))((Xe,Je)=>{const fe=new _.Hp({next:re=>{try{_e(re)}catch($){Je($),fe.unsubscribe()}},error:Je,complete:Xe});this.subscribe(fe)})}_subscribe(_e){var Pe;return null===(Pe=this.source)||void 0===Pe?void 0:Pe.subscribe(_e)}[J.L](){return this}pipe(..._e){return function pe(ee){return 0===ee.length?ue.y:1===ee.length?ee[0]:function(_e){return ee.reduce((Pe,Xe)=>Xe(Pe),_e)}}(_e)(this)}toPromise(_e){return new(_e=Y(_e))((Pe,Xe)=>{let Je;this.subscribe(fe=>Je=fe,fe=>Xe(fe),()=>Pe(Je))})}}return ee.create=je=>new ee(je),ee})();function Y(ee){var je;return null!==(je=ee??Ee.v.Promise)&&void 0!==je?je:Promise}},253:(Ze,de,N)=>{N.d(de,{x:()=>Ee});var _=N(3336),I=N(7714);const ue=(0,N(7543).d)(ge=>function(){ge(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=N(9663),pe=N(2309);let Ee=(()=>{class ge extends _.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const De=new Oe(this,this);return De.operator=Y,De}_throwIfClosed(){if(this.closed)throw new ue}next(Y){(0,pe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const De of this.currentObservers)De.next(Y)}})}error(Y){(0,pe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:De}=this;for(;De.length;)De.shift().error(Y)}})}complete(){(0,pe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:De,isStopped:Qe,observers:ee}=this;return De||Qe?I.Lc:(this.currentObservers=null,ee.push(Y),new I.w0(()=>{this.currentObservers=null,(0,ne.P)(ee,Y)}))}_checkFinalizedStatuses(Y){const{hasError:De,thrownError:Qe,isStopped:ee}=this;De?Y.error(Qe):ee&&Y.complete()}asObservable(){const Y=new _.y;return Y.source=this,Y}}return ge.create=(ce,Y)=>new Oe(ce,Y),ge})();class Oe extends Ee{constructor(ce,Y){super(),this.destination=ce,this.source=Y}next(ce){var Y,De;null===(De=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===De||De.call(Y,ce)}error(ce){var Y,De;null===(De=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===De||De.call(Y,ce)}complete(){var ce,Y;null===(Y=null===(ce=this.destination)||void 0===ce?void 0:ce.complete)||void 0===Y||Y.call(ce)}_subscribe(ce){var Y,De;return null!==(De=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(ce))&&void 0!==De?De:I.Lc}}},5463:(Ze,de,N)=>{N.d(de,{Hp:()=>_e,Lv:()=>De});var _=N(2971),I=N(7714),J=N(9057),ue=N(4709),ne=N(9635);const pe=ge("C",void 0,void 0);function ge(re,$,B){return{kind:re,value:$,error:B}}var ce=N(3542),Y=N(2309);class De extends I.w0{constructor($){super(),this.isStopped=!1,$?(this.destination=$,(0,I.Nn)($)&&$.add(this)):this.destination=fe}static create($,B,U){return new _e($,B,U)}next($){this.isStopped?Je(function Oe(re){return ge("N",re,void 0)}($),this):this._next($)}error($){this.isStopped?Je(function Ee(re){return ge("E",void 0,re)}($),this):(this.isStopped=!0,this._error($))}complete(){this.isStopped?Je(pe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next($){this.destination.next($)}_error($){try{this.destination.error($)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Qe=Function.prototype.bind;function ee(re,$){return Qe.call(re,$)}class je{constructor($){this.partialObserver=$}next($){const{partialObserver:B}=this;if(B.next)try{B.next($)}catch(U){Pe(U)}}error($){const{partialObserver:B}=this;if(B.error)try{B.error($)}catch(U){Pe(U)}else Pe($)}complete(){const{partialObserver:$}=this;if($.complete)try{$.complete()}catch(B){Pe(B)}}}class _e extends De{constructor($,B,U){let S;if(super(),(0,_.m)($)||!$)S={next:$??void 0,error:B??void 0,complete:U??void 0};else{let T;this&&J.v.useDeprecatedNextContext?(T=Object.create($),T.unsubscribe=()=>this.unsubscribe(),S={next:$.next&&ee($.next,T),error:$.error&&ee($.error,T),complete:$.complete&&ee($.complete,T)}):S=$}this.destination=new je(S)}}function Pe(re){J.v.useDeprecatedSynchronousErrorHandling?(0,Y.O)(re):(0,ue.h)(re)}function Je(re,$){const{onStoppedNotification:B}=J.v;B&&ce.z.setTimeout(()=>B(re,$))}const fe={closed:!0,next:ne.Z,error:function Xe(re){throw re},complete:ne.Z}},7714:(Ze,de,N)=>{N.d(de,{Lc:()=>pe,w0:()=>ne,Nn:()=>Ee});var _=N(2971);const J=(0,N(7543).d)(ge=>function(Y){ge(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((De,Qe)=>`${Qe+1}) ${De.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var ue=N(9663);class ne{constructor(ce){this.initialTeardown=ce,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ce;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const ee of Y)ee.remove(this);else Y.remove(this);const{initialTeardown:De}=this;if((0,_.m)(De))try{De()}catch(ee){ce=ee instanceof J?ee.errors:[ee]}const{_finalizers:Qe}=this;if(Qe){this._finalizers=null;for(const ee of Qe)try{Oe(ee)}catch(je){ce=ce??[],je instanceof J?ce=[...ce,...je.errors]:ce.push(je)}}if(ce)throw new J(ce)}}add(ce){var Y;if(ce&&ce!==this)if(this.closed)Oe(ce);else{if(ce instanceof ne){if(ce.closed||ce._hasParent(this))return;ce._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(ce)}}_hasParent(ce){const{_parentage:Y}=this;return Y===ce||Array.isArray(Y)&&Y.includes(ce)}_addParent(ce){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(ce),Y):Y?[Y,ce]:ce}_removeParent(ce){const{_parentage:Y}=this;Y===ce?this._parentage=null:Array.isArray(Y)&&(0,ue.P)(Y,ce)}remove(ce){const{_finalizers:Y}=this;Y&&(0,ue.P)(Y,ce),ce instanceof ne&&ce._removeParent(this)}}ne.EMPTY=(()=>{const ge=new ne;return ge.closed=!0,ge})();const pe=ne.EMPTY;function Ee(ge){return ge instanceof ne||ge&&"closed"in ge&&(0,_.m)(ge.remove)&&(0,_.m)(ge.add)&&(0,_.m)(ge.unsubscribe)}function Oe(ge){(0,_.m)(ge)?ge():ge.unsubscribe()}},9057:(Ze,de,N)=>{N.d(de,{v:()=>_});const _={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},591:(Ze,de,N)=>{N.d(de,{E:()=>I});const I=new(N(3336).y)(ne=>ne.complete())},2957:(Ze,de,N)=>{N.d(de,{D:()=>U});var _=N(4987),I=N(1817),J=N(1944),ue=N(3945);function ne(S,T=0){return(0,J.e)((W,A)=>{W.subscribe((0,ue.x)(A,F=>(0,I.f)(A,S,()=>A.next(F),T),()=>(0,I.f)(A,S,()=>A.complete(),T),F=>(0,I.f)(A,S,()=>A.error(F),T)))})}function pe(S,T=0){return(0,J.e)((W,A)=>{A.add(S.schedule(()=>W.subscribe(A),T))})}var ge=N(3336),Y=N(7321),De=N(2971);function ee(S,T){if(!S)throw new Error("Iterable cannot be null");return new ge.y(W=>{(0,I.f)(W,T,()=>{const A=S[Symbol.asyncIterator]();(0,I.f)(W,T,()=>{A.next().then(F=>{F.done?W.complete():W.next(F.value)})},0,!0)})})}var je=N(1331),_e=N(9548),Pe=N(9806),Xe=N(3433),Je=N(470),fe=N(7785),re=N(181);function U(S,T){return T?function B(S,T){if(null!=S){if((0,je.c)(S))return function Ee(S,T){return(0,_.Xf)(S).pipe(pe(T),ne(T))}(S,T);if((0,Pe.z)(S))return function ce(S,T){return new ge.y(W=>{let A=0;return T.schedule(function(){A===S.length?W.complete():(W.next(S[A++]),W.closed||this.schedule())})})}(S,T);if((0,_e.t)(S))return function Oe(S,T){return(0,_.Xf)(S).pipe(pe(T),ne(T))}(S,T);if((0,Je.D)(S))return ee(S,T);if((0,Xe.T)(S))return function Qe(S,T){return new ge.y(W=>{let A;return(0,I.f)(W,T,()=>{A=S[Y.h](),(0,I.f)(W,T,()=>{let F,z;try{({value:F,done:z}=A.next())}catch(x){return void W.error(x)}z?W.complete():W.next(F)},0,!0)}),()=>(0,De.m)(A?.return)&&A.return()})}(S,T);if((0,re.L)(S))return function $(S,T){return ee((0,re.Q)(S),T)}(S,T)}throw(0,fe.z)(S)}(S,T):(0,_.Xf)(S)}},4987:(Ze,de,N)=>{N.d(de,{Xf:()=>Qe});var _=N(4929),I=N(9806),J=N(9548),ue=N(3336),ne=N(1331),pe=N(470),Ee=N(7785),Oe=N(3433),ge=N(181),ce=N(2971),Y=N(4709),De=N(4585);function Qe(re){if(re instanceof ue.y)return re;if(null!=re){if((0,ne.c)(re))return function ee(re){return new ue.y($=>{const B=re[De.L]();if((0,ce.m)(B.subscribe))return B.subscribe($);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(re);if((0,I.z)(re))return function je(re){return new ue.y($=>{for(let B=0;B<re.length&&!$.closed;B++)$.next(re[B]);$.complete()})}(re);if((0,J.t)(re))return function _e(re){return new ue.y($=>{re.then(B=>{$.closed||($.next(B),$.complete())},B=>$.error(B)).then(null,Y.h)})}(re);if((0,pe.D)(re))return Xe(re);if((0,Oe.T)(re))return function Pe(re){return new ue.y($=>{for(const B of re)if($.next(B),$.closed)return;$.complete()})}(re);if((0,ge.L)(re))return function Je(re){return Xe((0,ge.Q)(re))}(re)}throw(0,Ee.z)(re)}function Xe(re){return new ue.y($=>{(function fe(re,$){var B,U,S,T;return(0,_.mG)(this,void 0,void 0,function*(){try{for(B=(0,_.KL)(re);!(U=yield B.next()).done;)if($.next(U.value),$.closed)return}catch(W){S={error:W}}finally{try{U&&!U.done&&(T=B.return)&&(yield T.call(B))}finally{if(S)throw S.error}}$.complete()})})(re,$).catch(B=>$.error(B))})}},745:(Ze,de,N)=>{N.d(de,{of:()=>J});var _=N(420),I=N(2957);function J(...ue){const ne=(0,_.yG)(ue);return(0,I.D)(ue,ne)}},3945:(Ze,de,N)=>{N.d(de,{x:()=>I});var _=N(5463);function I(ue,ne,pe,Ee,Oe){return new J(ue,ne,pe,Ee,Oe)}class J extends _.Lv{constructor(ne,pe,Ee,Oe,ge,ce){super(ne),this.onFinalize=ge,this.shouldUnsubscribe=ce,this._next=pe?function(Y){try{pe(Y)}catch(De){ne.error(De)}}:super._next,this._error=Oe?function(Y){try{Oe(Y)}catch(De){ne.error(De)}finally{this.unsubscribe()}}:super._error,this._complete=Ee?function(){try{Ee()}catch(Y){ne.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ne;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:pe}=this;super.unsubscribe(),!pe&&(null===(ne=this.onFinalize)||void 0===ne||ne.call(this))}}}},4926:(Ze,de,N)=>{N.d(de,{g:()=>z});var _=N(7714);class I extends _.w0{constructor(q,K){super()}schedule(q,K=0){return this}}const J={setInterval(x,q,...K){const{delegate:he}=J;return he?.setInterval?he.setInterval(x,q,...K):setInterval(x,q,...K)},clearInterval(x){const{delegate:q}=J;return(q?.clearInterval||clearInterval)(x)},delegate:void 0};var ue=N(9663);const pe={now:()=>(pe.delegate||Date).now(),delegate:void 0};class Ee{constructor(q,K=Ee.now){this.schedulerActionCtor=q,this.now=K}schedule(q,K=0,he){return new this.schedulerActionCtor(this,q).schedule(he,K)}}Ee.now=pe.now;const ge=new class Oe extends Ee{constructor(q,K=Ee.now){super(q,K),this.actions=[],this._active=!1}flush(q){const{actions:K}=this;if(this._active)return void K.push(q);let he;this._active=!0;do{if(he=q.execute(q.state,q.delay))break}while(q=K.shift());if(this._active=!1,he){for(;q=K.shift();)q.unsubscribe();throw he}}}(class ne extends I{constructor(q,K){super(q,K),this.scheduler=q,this.work=K,this.pending=!1}schedule(q,K=0){var he;if(this.closed)return this;this.state=q;const ke=this.id,dt=this.scheduler;return null!=ke&&(this.id=this.recycleAsyncId(dt,ke,K)),this.pending=!0,this.delay=K,this.id=null!==(he=this.id)&&void 0!==he?he:this.requestAsyncId(dt,this.id,K),this}requestAsyncId(q,K,he=0){return J.setInterval(q.flush.bind(q,this),he)}recycleAsyncId(q,K,he=0){if(null!=he&&this.delay===he&&!1===this.pending)return K;null!=K&&J.clearInterval(K)}execute(q,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const he=this._execute(q,K);if(he)return he;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,K){let ke,he=!1;try{this.work(q)}catch(dt){he=!0,ke=dt||new Error("Scheduled action threw falsy error")}if(he)return this.unsubscribe(),ke}unsubscribe(){if(!this.closed){const{id:q,scheduler:K}=this,{actions:he}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ue.P)(he,this),null!=q&&(this.id=this.recycleAsyncId(K,q,null)),this.delay=null,super.unsubscribe()}}}),ce=ge;var Y=N(1308),Qe=N(420),ee=N(2957);var _e=N(591),Pe=N(1944),Xe=N(3945);function Je(x){return x<=0?()=>_e.E:(0,Pe.e)((q,K)=>{let he=0;q.subscribe((0,Xe.x)(K,ke=>{++he<=x&&(K.next(ke),x<=he&&K.complete())}))})}var fe=N(9635),$=N(635),U=N(9525);function S(x,q){return q?K=>function je(...x){return function De(){return(0,Y.J)(1)}()((0,ee.D)(x,(0,Qe.yG)(x)))}(q.pipe(Je(1),function re(){return(0,Pe.e)((x,q)=>{x.subscribe((0,Xe.x)(q,fe.Z))})}()),K.pipe(S(x))):(0,U.z)((K,he)=>x(K,he).pipe(Je(1),function B(x){return(0,$.U)(()=>x)}(K)))}var T=N(3336),W=N(9867);function z(x,q=ge){const K=function F(x=0,q,K=ce){let he=-1;return null!=q&&((0,W.K)(q)?K=q:he=q),new T.y(ke=>{let dt=function A(x){return x instanceof Date&&!isNaN(x)}(x)?+x-K.now():x;dt<0&&(dt=0);let Ue=0;return K.schedule(function(){ke.closed||(ke.next(Ue++),0<=he?this.schedule(void 0,he):ke.complete())},dt)})}(x,q);return S(()=>K)}},116:(Ze,de,N)=>{N.d(de,{h:()=>J});var _=N(1944),I=N(3945);function J(ue,ne){return(0,_.e)((pe,Ee)=>{let Oe=0;pe.subscribe((0,I.x)(Ee,ge=>ue.call(ne,ge,Oe++)&&Ee.next(ge)))})}},635:(Ze,de,N)=>{N.d(de,{U:()=>J});var _=N(1944),I=N(3945);function J(ue,ne){return(0,_.e)((pe,Ee)=>{let Oe=0;pe.subscribe((0,I.x)(Ee,ge=>{Ee.next(ue.call(ne,ge,Oe++))}))})}},1308:(Ze,de,N)=>{N.d(de,{J:()=>J});var _=N(9525),I=N(9173);function J(ue=1/0){return(0,_.z)(I.y,ue)}},9525:(Ze,de,N)=>{N.d(de,{z:()=>Oe});var _=N(635),I=N(4987),J=N(1944),ue=N(1817),ne=N(3945),Ee=N(2971);function Oe(ge,ce,Y=1/0){return(0,Ee.m)(ce)?Oe((De,Qe)=>(0,_.U)((ee,je)=>ce(De,ee,Qe,je))((0,I.Xf)(ge(De,Qe))),Y):("number"==typeof ce&&(Y=ce),(0,J.e)((De,Qe)=>function pe(ge,ce,Y,De,Qe,ee,je,_e){const Pe=[];let Xe=0,Je=0,fe=!1;const re=()=>{fe&&!Pe.length&&!Xe&&ce.complete()},$=U=>Xe<De?B(U):Pe.push(U),B=U=>{ee&&ce.next(U),Xe++;let S=!1;(0,I.Xf)(Y(U,Je++)).subscribe((0,ne.x)(ce,T=>{Qe?.(T),ee?$(T):ce.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(Xe--;Pe.length&&Xe<De;){const T=Pe.shift();je?(0,ue.f)(ce,je,()=>B(T)):B(T)}re()}catch(T){ce.error(T)}}))};return ge.subscribe((0,ne.x)(ce,$,()=>{fe=!0,re()})),()=>{_e?.()}}(De,Qe,ge,Y)))}},4276:(Ze,de,N)=>{N.d(de,{j:()=>I});var _=N(635);function I(...J){const ue=J.length;if(0===ue)throw new Error("list of properties cannot be empty.");return(0,_.U)(ne=>{let pe=ne;for(let Ee=0;Ee<ue;Ee++){const Oe=pe?.[J[Ee]];if(!(typeof Oe<"u"))return;pe=Oe}return pe})}},8951:(Ze,de,N)=>{N.d(de,{R:()=>ne});var _=N(1944),I=N(3945),J=N(4987),ue=N(9635);function ne(pe){return(0,_.e)((Ee,Oe)=>{(0,J.Xf)(pe).subscribe((0,I.x)(Oe,()=>Oe.complete(),ue.Z)),!Oe.closed&&Ee.subscribe(Oe)})}},9337:(Ze,de,N)=>{N.d(de,{b:()=>ne});var _=N(2971),I=N(1944),J=N(3945),ue=N(9173);function ne(pe,Ee,Oe){const ge=(0,_.m)(pe)||Ee||Oe?{next:pe,error:Ee,complete:Oe}:pe;return ge?(0,I.e)((ce,Y)=>{var De;null===(De=ge.subscribe)||void 0===De||De.call(ge);let Qe=!0;ce.subscribe((0,J.x)(Y,ee=>{var je;null===(je=ge.next)||void 0===je||je.call(ge,ee),Y.next(ee)},()=>{var ee;Qe=!1,null===(ee=ge.complete)||void 0===ee||ee.call(ge),Y.complete()},ee=>{var je;Qe=!1,null===(je=ge.error)||void 0===je||je.call(ge,ee),Y.error(ee)},()=>{var ee,je;Qe&&(null===(ee=ge.unsubscribe)||void 0===ee||ee.call(ge)),null===(je=ge.finalize)||void 0===je||je.call(ge)}))}):ue.y}},3542:(Ze,de,N)=>{N.d(de,{z:()=>_});const _={setTimeout(I,J,...ue){const{delegate:ne}=_;return ne?.setTimeout?ne.setTimeout(I,J,...ue):setTimeout(I,J,...ue)},clearTimeout(I){const{delegate:J}=_;return(J?.clearTimeout||clearTimeout)(I)},delegate:void 0}},7321:(Ze,de,N)=>{N.d(de,{h:()=>I});const I=function _(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4585:(Ze,de,N)=>{N.d(de,{L:()=>_});const _="function"==typeof Symbol&&Symbol.observable||"@@observable"},420:(Ze,de,N)=>{N.d(de,{_6:()=>ne,yG:()=>ue});var _=N(9867);function I(pe){return pe[pe.length-1]}function ue(pe){return(0,_.K)(I(pe))?pe.pop():void 0}function ne(pe,Ee){return"number"==typeof I(pe)?pe.pop():Ee}},9663:(Ze,de,N)=>{function _(I,J){if(I){const ue=I.indexOf(J);0<=ue&&I.splice(ue,1)}}N.d(de,{P:()=>_})},7543:(Ze,de,N)=>{function _(I){const ue=I(ne=>{Error.call(ne),ne.stack=(new Error).stack});return ue.prototype=Object.create(Error.prototype),ue.prototype.constructor=ue,ue}N.d(de,{d:()=>_})},2309:(Ze,de,N)=>{N.d(de,{O:()=>ue,x:()=>J});var _=N(9057);let I=null;function J(ne){if(_.v.useDeprecatedSynchronousErrorHandling){const pe=!I;if(pe&&(I={errorThrown:!1,error:null}),ne(),pe){const{errorThrown:Ee,error:Oe}=I;if(I=null,Ee)throw Oe}}else ne()}function ue(ne){_.v.useDeprecatedSynchronousErrorHandling&&I&&(I.errorThrown=!0,I.error=ne)}},1817:(Ze,de,N)=>{function _(I,J,ue,ne=0,pe=!1){const Ee=J.schedule(function(){ue(),pe?I.add(this.schedule(null,ne)):this.unsubscribe()},ne);if(I.add(Ee),!pe)return Ee}N.d(de,{f:()=>_})},9173:(Ze,de,N)=>{function _(I){return I}N.d(de,{y:()=>_})},9806:(Ze,de,N)=>{N.d(de,{z:()=>_});const _=I=>I&&"number"==typeof I.length&&"function"!=typeof I},470:(Ze,de,N)=>{N.d(de,{D:()=>I});var _=N(2971);function I(J){return Symbol.asyncIterator&&(0,_.m)(J?.[Symbol.asyncIterator])}},2971:(Ze,de,N)=>{function _(I){return"function"==typeof I}N.d(de,{m:()=>_})},1331:(Ze,de,N)=>{N.d(de,{c:()=>J});var _=N(4585),I=N(2971);function J(ue){return(0,I.m)(ue[_.L])}},3433:(Ze,de,N)=>{N.d(de,{T:()=>J});var _=N(7321),I=N(2971);function J(ue){return(0,I.m)(ue?.[_.h])}},9548:(Ze,de,N)=>{N.d(de,{t:()=>I});var _=N(2971);function I(J){return(0,_.m)(J?.then)}},181:(Ze,de,N)=>{N.d(de,{L:()=>ue,Q:()=>J});var _=N(4929),I=N(2971);function J(ne){return(0,_.FC)(this,arguments,function*(){const Ee=ne.getReader();try{for(;;){const{value:Oe,done:ge}=yield(0,_.qq)(Ee.read());if(ge)return yield(0,_.qq)(void 0);yield yield(0,_.qq)(Oe)}}finally{Ee.releaseLock()}})}function ue(ne){return(0,I.m)(ne?.getReader)}},9867:(Ze,de,N)=>{N.d(de,{K:()=>I});var _=N(2971);function I(J){return J&&(0,_.m)(J.schedule)}},1944:(Ze,de,N)=>{N.d(de,{e:()=>J});var _=N(2971);function J(ue){return ne=>{if(function I(ue){return(0,_.m)(ue?.lift)}(ne))return ne.lift(function(pe){try{return ue(pe,this)}catch(Ee){this.error(Ee)}});throw new TypeError("Unable to lift unknown Observable type")}}},9635:(Ze,de,N)=>{function _(){}N.d(de,{Z:()=>_})},4709:(Ze,de,N)=>{N.d(de,{h:()=>J});var _=N(9057),I=N(3542);function J(ue){I.z.setTimeout(()=>{const{onUnhandledError:ne}=_.v;if(!ne)throw ue;ne(ue)})}},7785:(Ze,de,N)=>{function _(I){return new TypeError(`You provided ${null!==I&&"object"==typeof I?"an invalid object":`'${I}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}N.d(de,{z:()=>_})},4929:(Ze,de,N)=>{N.d(de,{CR:()=>Qe,FC:()=>Xe,KL:()=>fe,XA:()=>De,ZT:()=>I,ev:()=>_e,mG:()=>Oe,pi:()=>J,qq:()=>Pe});var _=function(A,F){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,x){z.__proto__=x}||function(z,x){for(var q in x)Object.prototype.hasOwnProperty.call(x,q)&&(z[q]=x[q])})(A,F)};function I(A,F){if("function"!=typeof F&&null!==F)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");function z(){this.constructor=A}_(A,F),A.prototype=null===F?Object.create(F):(z.prototype=F.prototype,new z)}var J=function(){return J=Object.assign||function(F){for(var z,x=1,q=arguments.length;x<q;x++)for(var K in z=arguments[x])Object.prototype.hasOwnProperty.call(z,K)&&(F[K]=z[K]);return F},J.apply(this,arguments)};function Oe(A,F,z,x){return new(z||(z=Promise))(function(K,he){function ke(Ft){try{Ue(x.next(Ft))}catch(wn){he(wn)}}function dt(Ft){try{Ue(x.throw(Ft))}catch(wn){he(wn)}}function Ue(Ft){Ft.done?K(Ft.value):function q(K){return K instanceof z?K:new z(function(he){he(K)})}(Ft.value).then(ke,dt)}Ue((x=x.apply(A,F||[])).next())})}function De(A){var F="function"==typeof Symbol&&Symbol.iterator,z=F&&A[F],x=0;if(z)return z.call(A);if(A&&"number"==typeof A.length)return{next:function(){return A&&x>=A.length&&(A=void 0),{value:A&&A[x++],done:!A}}};throw new TypeError(F?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qe(A,F){var z="function"==typeof Symbol&&A[Symbol.iterator];if(!z)return A;var q,he,x=z.call(A),K=[];try{for(;(void 0===F||F-- >0)&&!(q=x.next()).done;)K.push(q.value)}catch(ke){he={error:ke}}finally{try{q&&!q.done&&(z=x.return)&&z.call(x)}finally{if(he)throw he.error}}return K}function _e(A,F,z){if(z||2===arguments.length)for(var K,x=0,q=F.length;x<q;x++)(K||!(x in F))&&(K||(K=Array.prototype.slice.call(F,0,x)),K[x]=F[x]);return A.concat(K||Array.prototype.slice.call(F))}function Pe(A){return this instanceof Pe?(this.v=A,this):new Pe(A)}function Xe(A,F,z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q,x=z.apply(A,F||[]),K=[];return q={},he("next"),he("throw"),he("return"),q[Symbol.asyncIterator]=function(){return this},q;function he(gt){x[gt]&&(q[gt]=function(Qt){return new Promise(function(ln,_t){K.push([gt,Qt,ln,_t])>1||ke(gt,Qt)})})}function ke(gt,Qt){try{!function dt(gt){gt.value instanceof Pe?Promise.resolve(gt.value.v).then(Ue,Ft):wn(K[0][2],gt)}(x[gt](Qt))}catch(ln){wn(K[0][3],ln)}}function Ue(gt){ke("next",gt)}function Ft(gt){ke("throw",gt)}function wn(gt,Qt){gt(Qt),K.shift(),K.length&&ke(K[0][0],K[0][1])}}function fe(A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,F=A[Symbol.asyncIterator];return F?F.call(A):(A=De(A),z={},x("next"),x("throw"),x("return"),z[Symbol.asyncIterator]=function(){return this},z);function x(K){z[K]=A[K]&&function(he){return new Promise(function(ke,dt){!function q(K,he,ke,dt){Promise.resolve(dt).then(function(Ue){K({value:Ue,done:ke})},he)}(ke,dt,(he=A[K](he)).done,he.value)})}}}},4851:(Ze,de,N)=>{N.d(de,{EY:()=>_e,F4:()=>ce,IO:()=>je,LC:()=>I,SB:()=>ge,X$:()=>ue,ZE:()=>Je,ZN:()=>Xe,_j:()=>_,eR:()=>Y,jt:()=>ne,k1:()=>fe,l3:()=>J,oB:()=>Oe,vP:()=>Ee});class _{}class I{}const J="*";function ue(re,$){return{type:7,name:re,definitions:$,options:{}}}function ne(re,$=null){return{type:4,styles:$,timings:re}}function Ee(re,$=null){return{type:2,steps:re,options:$}}function Oe(re){return{type:6,styles:re,offset:null}}function ge(re,$,B){return{type:0,name:re,styles:$,options:B}}function ce(re){return{type:5,steps:re}}function Y(re,$,B=null){return{type:1,expr:re,animation:$,options:B}}function je(re,$,B=null){return{type:11,selector:re,animation:$,options:B}}function _e(re,$){return{type:12,timings:re,animation:$}}function Pe(re){Promise.resolve().then(re)}class Xe{constructor($=0,B=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+B}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Pe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const B="start"==$?this._onStartFns:this._onDoneFns;B.forEach(U=>U()),B.length=0}}class Je{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let B=0,U=0,S=0;const T=this.players.length;0==T?Pe(()=>this._onFinish()):this.players.forEach(W=>{W.onDone(()=>{++B==T&&this._onFinish()}),W.onDestroy(()=>{++U==T&&this._onDestroy()}),W.onStart(()=>{++S==T&&this._onStart()})}),this.totalTime=this.players.reduce((W,A)=>Math.max(W,A.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const B=$*this.totalTime;this.players.forEach(U=>{const S=U.totalTime?Math.min(1,B/U.totalTime):1;U.setPosition(S)})}getPosition(){const $=this.players.reduce((B,U)=>null===B||U.totalTime>B.totalTime?U:B,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const B="start"==$?this._onStartFns:this._onDoneFns;B.forEach(U=>U()),B.length=0}}const fe="!"},4666:(Ze,de,N)=>{N.d(de,{HT:()=>ne,JF:()=>Ts,K0:()=>Ee,Mx:()=>or,O5:()=>ft,Ov:()=>Pr,bD:()=>ni,ez:()=>qn,mk:()=>Wn,q:()=>J,sg:()=>Gt,tP:()=>rn,w_:()=>pe});var _=N(3210);let I=null;function J(){return I}function ne(l){I||(I=l)}class pe{}const Ee=new _.OlP("DocumentToken");function or(l,f){f=encodeURIComponent(f);for(const d of l.split(";")){const m=d.indexOf("="),[C,L]=-1==m?[d,""]:[d.slice(0,m),d.slice(m+1)];if(C.trim()===f)return decodeURIComponent(L)}return null}let Wn=(()=>{class l{constructor(d,m,C,L){this._iterableDiffers=d,this._keyValueDiffers=m,this._ngEl=C,this._renderer=L,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(d){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof d?d.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(d){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof d?d.split(/\s+/):d,this._rawClass&&((0,_.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const d=this._iterableDiffer.diff(this._rawClass);d&&this._applyIterableChanges(d)}else if(this._keyValueDiffer){const d=this._keyValueDiffer.diff(this._rawClass);d&&this._applyKeyValueChanges(d)}}_applyKeyValueChanges(d){d.forEachAddedItem(m=>this._toggleClass(m.key,m.currentValue)),d.forEachChangedItem(m=>this._toggleClass(m.key,m.currentValue)),d.forEachRemovedItem(m=>{m.previousValue&&this._toggleClass(m.key,!1)})}_applyIterableChanges(d){d.forEachAddedItem(m=>{if("string"!=typeof m.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_.AaK)(m.item)}`);this._toggleClass(m.item,!0)}),d.forEachRemovedItem(m=>this._toggleClass(m.item,!1))}_applyClasses(d){d&&(Array.isArray(d)||d instanceof Set?d.forEach(m=>this._toggleClass(m,!0)):Object.keys(d).forEach(m=>this._toggleClass(m,!!d[m])))}_removeClasses(d){d&&(Array.isArray(d)||d instanceof Set?d.forEach(m=>this._toggleClass(m,!1)):Object.keys(d).forEach(m=>this._toggleClass(m,!1)))}_toggleClass(d,m){(d=d.trim())&&d.split(/\s+/g).forEach(C=>{m?this._renderer.addClass(this._ngEl.nativeElement,C):this._renderer.removeClass(this._ngEl.nativeElement,C)})}}return l.\u0275fac=function(d){return new(d||l)(_.Y36(_.ZZ4),_.Y36(_.aQg),_.Y36(_.SBq),_.Y36(_.Qsj))},l.\u0275dir=_.lG2({type:l,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),l})();class ar{constructor(f,d,m,C){this.$implicit=f,this.ngForOf=d,this.index=m,this.count=C}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Gt=(()=>{class l{constructor(d,m,C){this._viewContainer=d,this._template=m,this._differs=C,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(d){this._ngForOf=d,this._ngForOfDirty=!0}set ngForTrackBy(d){this._trackByFn=d}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(d){d&&(this._template=d)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const d=this._ngForOf;!this._differ&&d&&(this._differ=this._differs.find(d).create(this.ngForTrackBy))}if(this._differ){const d=this._differ.diff(this._ngForOf);d&&this._applyChanges(d)}}_applyChanges(d){const m=this._viewContainer;d.forEachOperation((C,L,G)=>{if(null==C.previousIndex)m.createEmbeddedView(this._template,new ar(C.item,this._ngForOf,-1,-1),null===G?void 0:G);else if(null==G)m.remove(null===L?void 0:L);else if(null!==L){const te=m.get(L);m.move(te,G),xn(te,C)}});for(let C=0,L=m.length;C<L;C++){const te=m.get(C).context;te.index=C,te.count=L,te.ngForOf=this._ngForOf}d.forEachIdentityChange(C=>{xn(m.get(C.currentIndex),C)})}static ngTemplateContextGuard(d,m){return!0}}return l.\u0275fac=function(d){return new(d||l)(_.Y36(_.s_b),_.Y36(_.Rgc),_.Y36(_.ZZ4))},l.\u0275dir=_.lG2({type:l,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),l})();function xn(l,f){l.context.$implicit=f.item}let ft=(()=>{class l{constructor(d,m){this._viewContainer=d,this._context=new ms,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=m}set ngIf(d){this._context.$implicit=this._context.ngIf=d,this._updateView()}set ngIfThen(d){Di("ngIfThen",d),this._thenTemplateRef=d,this._thenViewRef=null,this._updateView()}set ngIfElse(d){Di("ngIfElse",d),this._elseTemplateRef=d,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(d,m){return!0}}return l.\u0275fac=function(d){return new(d||l)(_.Y36(_.s_b),_.Y36(_.Rgc))},l.\u0275dir=_.lG2({type:l,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),l})();class ms{constructor(){this.$implicit=null,this.ngIf=null}}function Di(l,f){if(f&&!f.createEmbeddedView)throw new Error(`${l} must be a TemplateRef, but received '${(0,_.AaK)(f)}'.`)}let rn=(()=>{class l{constructor(d){this._viewContainerRef=d,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(d){if(d.ngTemplateOutlet||d.ngTemplateOutletInjector){const m=this._viewContainerRef;if(this._viewRef&&m.remove(m.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:C,ngTemplateOutletContext:L,ngTemplateOutletInjector:G}=this;this._viewRef=m.createEmbeddedView(C,L,G?{injector:G}:void 0)}else this._viewRef=null}else this._viewRef&&d.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return l.\u0275fac=function(d){return new(d||l)(_.Y36(_.s_b))},l.\u0275dir=_.lG2({type:l,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_.TTD]}),l})();class cr{createSubscription(f,d){return f.subscribe({next:d,error:m=>{throw m}})}dispose(f){f.unsubscribe()}}class fn{createSubscription(f,d){return f.then(d,m=>{throw m})}dispose(f){}}const zr=new fn,Ei=new cr;let Pr=(()=>{class l{constructor(d){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=d}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(d){return this._obj?d!==this._obj?(this._dispose(),this.transform(d)):this._latestValue:(d&&this._subscribe(d),this._latestValue)}_subscribe(d){this._obj=d,this._strategy=this._selectStrategy(d),this._subscription=this._strategy.createSubscription(d,m=>this._updateLatestValue(d,m))}_selectStrategy(d){if((0,_.QGY)(d))return zr;if((0,_.F4k)(d))return Ei;throw function Kt(l,f){return new _.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(d,m){d===this._obj&&(this._latestValue=m,this._ref.markForCheck())}}return l.\u0275fac=function(d){return new(d||l)(_.Y36(_.sBO,16))},l.\u0275pipe=_.Yjl({name:"async",type:l,pure:!1,standalone:!0}),l})(),qn=(()=>{class l{}return l.\u0275fac=function(d){return new(d||l)},l.\u0275mod=_.oAB({type:l}),l.\u0275inj=_.cJS({}),l})();const ni="browser";class Ts{}},8230:(Ze,de,N)=>{N.d(de,{JF:()=>Fn});var _=N(4666),I=N(3210),J=N(745),ue=N(3336),ne=N(9525),pe=N(2971),Oe=N(116),ge=N(635);class ce{}class Y{}class De{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?this.lazyInit="string"==typeof M?()=>{this.headers=new Map,M.split("\n").forEach(R=>{const oe=R.indexOf(":");if(oe>0){const X=R.slice(0,oe),Ie=X.toLowerCase(),Ve=R.slice(oe+1).trim();this.maybeSetNormalizedName(X,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(Ve):this.headers.set(Ie,[Ve])}})}:()=>{this.headers=new Map,Object.keys(M).forEach(R=>{let oe=M[R];const X=R.toLowerCase();"string"==typeof oe&&(oe=[oe]),oe.length>0&&(this.headers.set(X,oe),this.maybeSetNormalizedName(R,X))})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const R=this.headers.get(M.toLowerCase());return R&&R.length>0?R[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,R){return this.clone({name:M,value:R,op:"a"})}set(M,R){return this.clone({name:M,value:R,op:"s"})}delete(M,R){return this.clone({name:M,value:R,op:"d"})}maybeSetNormalizedName(M,R){this.normalizedNames.has(R)||this.normalizedNames.set(R,M)}init(){this.lazyInit&&(this.lazyInit instanceof De?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(R=>{this.headers.set(R,M.headers.get(R)),this.normalizedNames.set(R,M.normalizedNames.get(R))})}clone(M){const R=new De;return R.lazyInit=this.lazyInit&&this.lazyInit instanceof De?this.lazyInit:this,R.lazyUpdate=(this.lazyUpdate||[]).concat([M]),R}applyUpdate(M){const R=M.name.toLowerCase();switch(M.op){case"a":case"s":let oe=M.value;if("string"==typeof oe&&(oe=[oe]),0===oe.length)return;this.maybeSetNormalizedName(M.name,R);const X=("a"===M.op?this.headers.get(R):void 0)||[];X.push(...oe),this.headers.set(R,X);break;case"d":const Ie=M.value;if(Ie){let Ve=this.headers.get(R);if(!Ve)return;Ve=Ve.filter(ht=>-1===Ie.indexOf(ht)),0===Ve.length?(this.headers.delete(R),this.normalizedNames.delete(R)):this.headers.set(R,Ve)}else this.headers.delete(R),this.normalizedNames.delete(R)}}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(R=>M(this.normalizedNames.get(R),this.headers.get(R)))}}class ee{encodeKey(M){return Xe(M)}encodeValue(M){return Xe(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const _e=/%(\d[a-f0-9])/gi,Pe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xe(j){return encodeURIComponent(j).replace(_e,(M,R)=>{var oe;return null!==(oe=Pe[R])&&void 0!==oe?oe:M})}function Je(j){return`${j}`}class fe{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new ee,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function je(j,M){const R=new Map;return j.length>0&&j.replace(/^\?/,"").split("&").forEach(X=>{const Ie=X.indexOf("="),[Ve,ht]=-1==Ie?[M.decodeKey(X),""]:[M.decodeKey(X.slice(0,Ie)),M.decodeValue(X.slice(Ie+1))],Te=R.get(Ve)||[];Te.push(ht),R.set(Ve,Te)}),R}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(R=>{const oe=M.fromObject[R],X=Array.isArray(oe)?oe.map(Je):[Je(oe)];this.map.set(R,X)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const R=this.map.get(M);return R?R[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,R){return this.clone({param:M,value:R,op:"a"})}appendAll(M){const R=[];return Object.keys(M).forEach(oe=>{const X=M[oe];Array.isArray(X)?X.forEach(Ie=>{R.push({param:oe,value:Ie,op:"a"})}):R.push({param:oe,value:X,op:"a"})}),this.clone(R)}set(M,R){return this.clone({param:M,value:R,op:"s"})}delete(M,R){return this.clone({param:M,value:R,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const R=this.encoder.encodeKey(M);return this.map.get(M).map(oe=>R+"="+this.encoder.encodeValue(oe)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const R=new fe({encoder:this.encoder});return R.cloneFrom=this.cloneFrom||this,R.updates=(this.updates||[]).concat(M),R}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const R=("a"===M.op?this.map.get(M.param):void 0)||[];R.push(Je(M.value)),this.map.set(M.param,R);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let oe=this.map.get(M.param)||[];const X=oe.indexOf(Je(M.value));-1!==X&&oe.splice(X,1),oe.length>0?this.map.set(M.param,oe):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class ${constructor(){this.map=new Map}set(M,R){return this.map.set(M,R),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function U(j){return typeof ArrayBuffer<"u"&&j instanceof ArrayBuffer}function S(j){return typeof Blob<"u"&&j instanceof Blob}function T(j){return typeof FormData<"u"&&j instanceof FormData}class A{constructor(M,R,oe,X){let Ie;if(this.url=R,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function B(j){switch(j){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||X?(this.body=void 0!==oe?oe:null,Ie=X):Ie=oe,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params)),this.headers||(this.headers=new De),this.context||(this.context=new $),this.params){const Ve=this.params.toString();if(0===Ve.length)this.urlWithParams=R;else{const ht=R.indexOf("?");this.urlWithParams=R+(-1===ht?"?":ht<R.length-1?"&":"")+Ve}}else this.params=new fe,this.urlWithParams=R}serializeBody(){return null===this.body?null:U(this.body)||S(this.body)||T(this.body)||function W(j){return typeof URLSearchParams<"u"&&j instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||T(this.body)?null:S(this.body)?this.body.type||null:U(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(M={}){var R;const oe=M.method||this.method,X=M.url||this.url,Ie=M.responseType||this.responseType,Ve=void 0!==M.body?M.body:this.body,ht=void 0!==M.withCredentials?M.withCredentials:this.withCredentials,Te=void 0!==M.reportProgress?M.reportProgress:this.reportProgress;let ut=M.headers||this.headers,Ne=M.params||this.params;const Rn=null!==(R=M.context)&&void 0!==R?R:this.context;return void 0!==M.setHeaders&&(ut=Object.keys(M.setHeaders).reduce((Rt,Ye)=>Rt.set(Ye,M.setHeaders[Ye]),ut)),M.setParams&&(Ne=Object.keys(M.setParams).reduce((Rt,Ye)=>Rt.set(Ye,M.setParams[Ye]),Ne)),new A(oe,X,Ve,{params:Ne,headers:ut,context:Rn,reportProgress:Te,responseType:Ie,withCredentials:ht})}}var F=(()=>((F=F||{})[F.Sent=0]="Sent",F[F.UploadProgress=1]="UploadProgress",F[F.ResponseHeader=2]="ResponseHeader",F[F.DownloadProgress=3]="DownloadProgress",F[F.Response=4]="Response",F[F.User=5]="User",F))();class z{constructor(M,R=200,oe="OK"){this.headers=M.headers||new De,this.status=void 0!==M.status?M.status:R,this.statusText=M.statusText||oe,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class x extends z{constructor(M={}){super(M),this.type=F.ResponseHeader}clone(M={}){return new x({headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class q extends z{constructor(M={}){super(M),this.type=F.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new q({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class K extends z{constructor(M){super(M,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${M.url||"(unknown url)"}`:`Http failure response for ${M.url||"(unknown url)"}: ${M.status} ${M.statusText}`,this.error=M.error||null}}function he(j,M){return{body:M,headers:j.headers,context:j.context,observe:j.observe,params:j.params,reportProgress:j.reportProgress,responseType:j.responseType,withCredentials:j.withCredentials}}let ke=(()=>{class j{constructor(R){this.handler=R}request(R,oe,X={}){let Ie;if(R instanceof A)Ie=R;else{let Te,ut;Te=X.headers instanceof De?X.headers:new De(X.headers),X.params&&(ut=X.params instanceof fe?X.params:new fe({fromObject:X.params})),Ie=new A(R,oe,void 0!==X.body?X.body:null,{headers:Te,context:X.context,params:ut,reportProgress:X.reportProgress,responseType:X.responseType||"json",withCredentials:X.withCredentials})}const Ve=(0,J.of)(Ie).pipe(function Ee(j,M){return(0,pe.m)(M)?(0,ne.z)(j,M,1):(0,ne.z)(j,1)}(Te=>this.handler.handle(Te)));if(R instanceof A||"events"===X.observe)return Ve;const ht=Ve.pipe((0,Oe.h)(Te=>Te instanceof q));switch(X.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return ht.pipe((0,ge.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Te.body}));case"blob":return ht.pipe((0,ge.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof Blob))throw new Error("Response is not a Blob.");return Te.body}));case"text":return ht.pipe((0,ge.U)(Te=>{if(null!==Te.body&&"string"!=typeof Te.body)throw new Error("Response is not a string.");return Te.body}));default:return ht.pipe((0,ge.U)(Te=>Te.body))}case"response":return ht;default:throw new Error(`Unreachable: unhandled observe type ${X.observe}}`)}}delete(R,oe={}){return this.request("DELETE",R,oe)}get(R,oe={}){return this.request("GET",R,oe)}head(R,oe={}){return this.request("HEAD",R,oe)}jsonp(R,oe){return this.request("JSONP",R,{params:(new fe).append(oe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(R,oe={}){return this.request("OPTIONS",R,oe)}patch(R,oe,X={}){return this.request("PATCH",R,he(X,oe))}post(R,oe,X={}){return this.request("POST",R,he(X,oe))}put(R,oe,X={}){return this.request("PUT",R,he(X,oe))}}return j.\u0275fac=function(R){return new(R||j)(I.LFG(ce))},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})();class dt{constructor(M,R){this.next=M,this.interceptor=R}handle(M){return this.interceptor.intercept(M,this.next)}}const Ue=new I.OlP("HTTP_INTERCEPTORS");let Ft=(()=>{class j{intercept(R,oe){return oe.handle(R)}}return j.\u0275fac=function(R){return new(R||j)},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})();const tr=/^\)\]\}',?\n/;let Un=(()=>{class j{constructor(R){this.xhrFactory=R}handle(R){if("JSONP"===R.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ue.y(oe=>{const X=this.xhrFactory.build();if(X.open(R.method,R.urlWithParams),R.withCredentials&&(X.withCredentials=!0),R.headers.forEach((Ye,Ae)=>X.setRequestHeader(Ye,Ae.join(","))),R.headers.has("Accept")||X.setRequestHeader("Accept","application/json, text/plain, */*"),!R.headers.has("Content-Type")){const Ye=R.detectContentTypeHeader();null!==Ye&&X.setRequestHeader("Content-Type",Ye)}if(R.responseType){const Ye=R.responseType.toLowerCase();X.responseType="json"!==Ye?Ye:"text"}const Ie=R.serializeBody();let Ve=null;const ht=()=>{if(null!==Ve)return Ve;const Ye=X.statusText||"OK",Ae=new De(X.getAllResponseHeaders()),jt=function at(j){return"responseURL"in j&&j.responseURL?j.responseURL:/^X-Request-URL:/m.test(j.getAllResponseHeaders())?j.getResponseHeader("X-Request-URL"):null}(X)||R.url;return Ve=new x({headers:Ae,status:X.status,statusText:Ye,url:jt}),Ve},Te=()=>{let{headers:Ye,status:Ae,statusText:jt,url:On}=ht(),pt=null;204!==Ae&&(pt=typeof X.response>"u"?X.responseText:X.response),0===Ae&&(Ae=pt?200:0);let tn=Ae>=200&&Ae<300;if("json"===R.responseType&&"string"==typeof pt){const zt=pt;pt=pt.replace(tr,"");try{pt=""!==pt?JSON.parse(pt):null}catch(bn){pt=zt,tn&&(tn=!1,pt={error:bn,text:pt})}}tn?(oe.next(new q({body:pt,headers:Ye,status:Ae,statusText:jt,url:On||void 0})),oe.complete()):oe.error(new K({error:pt,headers:Ye,status:Ae,statusText:jt,url:On||void 0}))},ut=Ye=>{const{url:Ae}=ht(),jt=new K({error:Ye,status:X.status||0,statusText:X.statusText||"Unknown Error",url:Ae||void 0});oe.error(jt)};let Ne=!1;const Rn=Ye=>{Ne||(oe.next(ht()),Ne=!0);let Ae={type:F.DownloadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Ae.total=Ye.total),"text"===R.responseType&&!!X.responseText&&(Ae.partialText=X.responseText),oe.next(Ae)},Rt=Ye=>{let Ae={type:F.UploadProgress,loaded:Ye.loaded};Ye.lengthComputable&&(Ae.total=Ye.total),oe.next(Ae)};return X.addEventListener("load",Te),X.addEventListener("error",ut),X.addEventListener("timeout",ut),X.addEventListener("abort",ut),R.reportProgress&&(X.addEventListener("progress",Rn),null!==Ie&&X.upload&&X.upload.addEventListener("progress",Rt)),X.send(Ie),oe.next({type:F.Sent}),()=>{X.removeEventListener("error",ut),X.removeEventListener("abort",ut),X.removeEventListener("load",Te),X.removeEventListener("timeout",ut),R.reportProgress&&(X.removeEventListener("progress",Rn),null!==Ie&&X.upload&&X.upload.removeEventListener("progress",Rt)),X.readyState!==X.DONE&&X.abort()}})}}return j.\u0275fac=function(R){return new(R||j)(I.LFG(_.JF))},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})();const Yt=new I.OlP("XSRF_COOKIE_NAME"),un=new I.OlP("XSRF_HEADER_NAME");class nr{}let Et=(()=>{class j{constructor(R,oe,X){this.doc=R,this.platform=oe,this.cookieName=X,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const R=this.doc.cookie||"";return R!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,_.Mx)(R,this.cookieName),this.lastCookieString=R),this.lastToken}}return j.\u0275fac=function(R){return new(R||j)(I.LFG(_.K0),I.LFG(I.Lbi),I.LFG(Yt))},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})(),Cn=(()=>{class j{constructor(R,oe){this.tokenService=R,this.headerName=oe}intercept(R,oe){const X=R.url.toLowerCase();if("GET"===R.method||"HEAD"===R.method||X.startsWith("http://")||X.startsWith("https://"))return oe.handle(R);const Ie=this.tokenService.getToken();return null!==Ie&&!R.headers.has(this.headerName)&&(R=R.clone({headers:R.headers.set(this.headerName,Ie)})),oe.handle(R)}}return j.\u0275fac=function(R){return new(R||j)(I.LFG(nr),I.LFG(un))},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})(),Ir=(()=>{class j{constructor(R,oe){this.backend=R,this.injector=oe,this.chain=null}handle(R){if(null===this.chain){const oe=this.injector.get(Ue,[]);this.chain=oe.reduceRight((X,Ie)=>new dt(X,Ie),this.backend)}return this.chain.handle(R)}}return j.\u0275fac=function(R){return new(R||j)(I.LFG(Y),I.LFG(I.zs3))},j.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac}),j})(),rr=(()=>{class j{static disable(){return{ngModule:j,providers:[{provide:Cn,useClass:Ft}]}}static withOptions(R={}){return{ngModule:j,providers:[R.cookieName?{provide:Yt,useValue:R.cookieName}:[],R.headerName?{provide:un,useValue:R.headerName}:[]]}}}return j.\u0275fac=function(R){return new(R||j)},j.\u0275mod=I.oAB({type:j}),j.\u0275inj=I.cJS({providers:[Cn,{provide:Ue,useExisting:Cn,multi:!0},{provide:nr,useClass:Et},{provide:Yt,useValue:"XSRF-TOKEN"},{provide:un,useValue:"X-XSRF-TOKEN"}]}),j})(),Fn=(()=>{class j{}return j.\u0275fac=function(R){return new(R||j)},j.\u0275mod=I.oAB({type:j}),j.\u0275inj=I.cJS({providers:[ke,{provide:ce,useClass:Ir},Un,{provide:Y,useExisting:Un}],imports:[rr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),j})()},3210:(Ze,de,N)=>{N.d(de,{QbO:()=>Ew,AFp:()=>Xp,ip1:()=>Jp,CZH:()=>va,hGG:()=>iC,z2F:()=>_a,sBO:()=>$w,EJc:()=>Cw,SBq:()=>Ws,qLn:()=>Ks,vpe:()=>Sr,OlP:()=>vt,zs3:()=>fi,ZZ4:()=>Hu,aQg:()=>ju,soG:()=>Da,h0i:()=>hs,R0b:()=>$n,Lbi:()=>Dw,g9A:()=>tg,Qsj:()=>ey,FYo:()=>Qc,JOm:()=>_r,q3G:()=>kt,Rgc:()=>uo,dDg:()=>Rw,eoX:()=>lg,GfV:()=>Yc,s_b:()=>ga,ifc:()=>ut,Lck:()=>hE,eFA:()=>dg,G48:()=>Vw,_c5:()=>rC,zSh:()=>Ya,wAp:()=>Ge,vHH:()=>B,lri:()=>og,rWj:()=>ag,EiD:()=>Fc,mCW:()=>Bo,qzn:()=>Gi,JVY:()=>_m,pB0:()=>bm,eBb:()=>wm,L6k:()=>Em,LAX:()=>Cm,cg1:()=>au,kL8:()=>Ph,dqk:()=>Ne,sIi:()=>Xs,QGY:()=>tu,F4k:()=>Rf,RDi:()=>dm,AaK:()=>_e,z3N:()=>Lr,qOj:()=>Kl,TTD:()=>ri,_Bn:()=>ip,xp6:()=>Nd,uIk:()=>Yl,ekj:()=>iu,Xpm:()=>Tr,lG2:()=>V,Yz7:()=>at,cJS:()=>Yt,oAB:()=>_n,Yjl:()=>O,Y36:()=>Ji,_UZ:()=>Xl,GkF:()=>eu,BQk:()=>aa,ynx:()=>oa,qZA:()=>sa,TgZ:()=>ia,EpF:()=>Ff,n5z:()=>oc,LFG:()=>Ht,$8M:()=>Oa,NdJ:()=>nu,CRH:()=>Ap,O4$:()=>qt,oxw:()=>Bf,ALo:()=>_p,lcZ:()=>Ep,Hsn:()=>jf,F$t:()=>Hf,Q6J:()=>Zl,VKq:()=>hp,WLB:()=>pp,iGM:()=>Ip,MAs:()=>Nf,KtG:()=>ai,CHM:()=>hr,oJD:()=>Rc,P3R:()=>Lc,YNc:()=>Pf,W1O:()=>Rp,_uU:()=>ch,Oqu:()=>ou,hij:()=>ua,Gf:()=>Tp});var _=N(253),I=N(7714),J=N(3336),ue=N(1308),ne=N(4987),pe=N(591),Ee=N(420),Oe=N(2957),ce=N(5463),Y=N(1944);function Qe(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new ce.Hp({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function je(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(_e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Xe=ee({__forward_ref__:ee});function Je(e){return e.__forward_ref__=Je,e.toString=function(){return _e(this())},e}function fe(e){return re(e)?e():e}function re(e){return"function"==typeof e&&e.hasOwnProperty(Xe)&&e.__forward_ref__===Je}class B extends Error{constructor(t,n){super(function U(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function S(e){return"string"==typeof e?e:null==e?"":String(e)}function z(e,t){throw new B(-201,!1)}function mt(e,t){null==e&&function ot(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function at(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function un(e){return Et(e,Nn)||Et(e,Fn)}function Et(e,t){return e.hasOwnProperty(t)?e[t]:null}function vn(e){return e&&(e.hasOwnProperty(rr)||e.hasOwnProperty($r))?e[rr]:null}const Nn=ee({\u0275prov:ee}),rr=ee({\u0275inj:ee}),Fn=ee({ngInjectableDef:ee}),$r=ee({ngInjectorDef:ee});var we=(()=>((we=we||{})[we.Default=0]="Default",we[we.Host=1]="Host",we[we.Self=2]="Self",we[we.SkipSelf=4]="SkipSelf",we[we.Optional=8]="Optional",we))();let j;function R(e){const t=j;return j=e,t}function oe(e,t,n){const r=un(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&we.Optional?null:void 0!==t?t:void z(_e(e))}function Ie(e){return{toString:e}.toString()}var Ve=(()=>((Ve=Ve||{})[Ve.OnPush=0]="OnPush",Ve[Ve.Default=1]="Default",Ve))(),ut=(()=>{return(e=ut||(ut={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ut;var e})();const Ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ye={},Ae=[],jt=ee({\u0275cmp:ee}),On=ee({\u0275dir:ee}),pt=ee({\u0275pipe:ee}),tn=ee({\u0275mod:ee}),zt=ee({\u0275fac:ee}),bn=ee({__NG_ELEMENT_ID__:ee});let Dn=0;function Tr(e){return Ie(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ve.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ae,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ut.Emulated,id:"c"+Dn++,styles:e.styles||Ae,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,o=e.features;return i.inputs=ir(e.inputs,r),i.outputs=ir(e.outputs),o&&o.forEach(c=>c(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(nn).filter(cn):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(Q).filter(cn):null,i})}function nn(e){return b(e)||k(e)}function cn(e){return null!==e}function _n(e){return Ie(()=>({type:e.type,bootstrap:e.bootstrap||Ae,declarations:e.declarations||Ae,imports:e.imports||Ae,exports:e.exports||Ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ir(e,t){if(null==e)return Ye;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const V=Tr;function O(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function b(e){return e[jt]||null}function k(e){return e[On]||null}function Q(e){return e[pt]||null}function Wt(e){return Array.isArray(e)&&"object"==typeof e[1]}function rn(e){return Array.isArray(e)&&!0===e[1]}function _i(e){return 0!=(8&e.flags)}function Kt(e){return 2==(2&e.flags)}function cr(e){return 1==(1&e.flags)}function fn(e){return null!==e.template}function zr(e){return 0!=(256&e[2])}function qn(e,t){return e.hasOwnProperty(zt)?e[zt]:null}class ni{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ri(){return Gr}function Gr(e){return e.type.prototype.ngOnChanges&&(e.setInput=yo),bs}function bs(){const e=Ms(this),t=e?.current;if(t){const n=e.previous;if(n===Ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function yo(e,t,n,r){const i=Ms(e)||function Is(e,t){return e[Ss]=t}(e,{previous:Ye,current:null}),s=i.current||(i.current={}),o=i.previous,c=this.declaredInputs[n],h=o[c];s[c]=new ni(h&&h.currentValue,t,o===Ye),e[r]=t}ri.ngInherit=!0;const Ss="__ngSimpleChanges__";function Ms(e){return e[Ss]||null}function nt(e){for(;Array.isArray(e);)e=e[0];return e}function si(e,t){return nt(t[e])}function Jt(e,t){return nt(t[e.index])}function Wr(e,t){return e.data[t]}function Bt(e,t){return e[t]}function Ot(e,t){const n=t[e];return Wt(n)?n:n[0]}function Kr(e){return 64==(64&e[2])}function Bn(e,t){return null==t?null:e[t]}function dr(e){e[18]=0}function fr(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const qe={lFrame:G(null),bindingsEnabled:!0};function oi(){return qe.bindingsEnabled}function ie(){return qe.lFrame.lView}function it(){return qe.lFrame.tView}function hr(e){return qe.lFrame.contextLView=e,e[8]}function ai(e){return qe.lFrame.contextLView=null,e}function Mt(){let e=Rr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Rr(){return qe.lFrame.currentTNode}function pn(e,t){const n=qe.lFrame;n.currentTNode=e,n.isParent=t}function qr(){return qe.lFrame.isParent}function Fi(){qe.lFrame.isParent=!1}function Vt(){const e=qe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qr(){return qe.lFrame.bindingIndex++}function u(e,t){const n=qe.lFrame;n.bindingIndex=n.bindingRootIndex=e,y(t)}function y(e){qe.lFrame.currentDirectiveIndex=e}function l(){return qe.lFrame.currentQueryIndex}function f(e){qe.lFrame.currentQueryIndex=e}function d(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function m(e,t,n){if(n&we.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&we.Host||(i=d(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=qe.lFrame=L();return r.currentTNode=t,r.lView=e,!0}function C(e){const t=L(),n=e[1];qe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function L(){const e=qe.lFrame,t=null===e?null:e.child;return null===t?G(e):t}function G(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function te(){const e=qe.lFrame;return qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const me=te;function ye(){const e=te();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function $e(){return qe.lFrame.selectedIndex}function We(e){qe.lFrame.selectedIndex=e}function Re(){const e=qe.lFrame;return Wr(e.tView,e.selectedIndex)}function qt(){qe.lFrame.currentNamespace="svg"}function In(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:c,ngAfterViewInit:h,ngAfterViewChecked:g,ngOnDestroy:D}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),c&&((e.contentHooks||(e.contentHooks=[])).push(n,c),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,c)),h&&(e.viewHooks||(e.viewHooks=[])).push(-n,h),g&&((e.viewHooks||(e.viewHooks=[])).push(n,g),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,g)),null!=D&&(e.destroyHooks||(e.destroyHooks=[])).push(n,D)}}function pr(e,t,n){Rs(e,t,3,n)}function gr(e,t,n,r){(3&e[2])===n&&Rs(e,t,n,r)}function mr(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Rs(e,t,n,r){const s=r??-1,o=t.length-1;let c=0;for(let h=void 0!==r?65535&e[18]:0;h<o;h++)if("number"==typeof t[h+1]){if(c=t[h],null!=r&&c>=r)break}else t[h]<0&&(e[18]+=65536),(c<s||-1==s)&&(Se(e,n,t,h),e[18]=(4294901760&e[18])+h+2),h++}function Se(e,t,n,r){const i=n[r]<0,s=n[r+1],c=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(c)}finally{}}}else try{s.call(c)}finally{}}class Le{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Lt(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],o=n[r++],c=n[r++];e.setAttribute(t,o,c,s)}else{const s=i,o=n[++r];gn(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),r++}}return r}function vr(e){return 3===e||4===e||6===e}function gn(e){return 64===e.charCodeAt(0)}function Or(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Ri(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Ri(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const c=e[s++];if("number"==typeof c){if(c===t){o=-1;break}if(c>t){o=s-1;break}}}for(;s<e.length;){const c=e[s];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Zu(e){return-1!==e}function Oi(e){return 32767&e}function xi(e,t){let n=function Pg(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Pa=!0;function So(e){const t=Pa;return Pa=e,t}let Ng=0;const Dr={};function Os(e,t){const n=Fa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Na(r.data,e),Na(t,null),Na(r.blueprint,null));const i=Mo(e,t),s=e.injectorIndex;if(Zu(i)){const o=Oi(i),c=xi(i,t),h=c[1].data;for(let g=0;g<8;g++)t[s+g]=c[o+g]|h[o+g]}return t[s+8]=i,s}function Na(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Mo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ac(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Io(e,t,n){!function Fg(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(bn)&&(r=n[bn]),null==r&&(r=n[bn]=Ng++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ec(e,t,n){if(n&we.Optional||void 0!==e)return e;z()}function tc(e,t,n,r){if(n&we.Optional&&void 0===r&&(r=null),0==(n&(we.Self|we.Host))){const i=e[9],s=R(void 0);try{return i?i.get(t,r,n&we.Optional):oe(t,r,n&we.Optional)}finally{R(s)}}return ec(r,0,n)}function nc(e,t,n,r=we.Default,i){if(null!==e){if(1024&t[2]){const o=function kg(e,t,n,r,i){let s=e,o=t;for(;null!==s&&null!==o&&1024&o[2]&&!(256&o[2]);){const c=rc(s,o,n,r|we.Self,Dr);if(c!==Dr)return c;let h=s.parent;if(!h){const g=o[21];if(g){const D=g.get(n,Dr,r);if(D!==Dr)return D}h=ac(o),o=o[15]}s=h}return i}(e,t,n,r,Dr);if(o!==Dr)return o}const s=rc(e,t,n,r,Dr);if(s!==Dr)return s}return tc(t,n,r,i)}function rc(e,t,n,r,i){const s=function xg(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(bn)?e[bn]:void 0;return"number"==typeof t?t>=0?255&t:Lg:t}(n);if("function"==typeof s){if(!m(t,e,r))return r&we.Host?ec(i,0,r):tc(t,n,r,i);try{const o=s(r);if(null!=o||r&we.Optional)return o;z()}finally{me()}}else if("number"==typeof s){let o=null,c=Fa(e,t),h=-1,g=r&we.Host?t[16][6]:null;for((-1===c||r&we.SkipSelf)&&(h=-1===c?Mo(e,t):t[c+8],-1!==h&&sc(r,!1)?(o=t[1],c=Oi(h),t=xi(h,t)):c=-1);-1!==c;){const D=t[1];if(ic(s,c,D.data)){const w=Og(c,t,n,o,r,g);if(w!==Dr)return w}h=t[c+8],-1!==h&&sc(r,t[1].data[c+8]===g)&&ic(s,c,t)?(o=D,c=Oi(h),t=xi(h,t)):c=-1}}return i}function Og(e,t,n,r,i,s){const o=t[1],c=o.data[e+8],D=To(c,o,n,null==r?Kt(c)&&Pa:r!=o&&0!=(3&c.type),i&we.Host&&s===c);return null!==D?xs(t,o,D,c):Dr}function To(e,t,n,r,i){const s=e.providerIndexes,o=t.data,c=1048575&s,h=e.directiveStart,D=s>>20,P=i?c+D:e.directiveEnd;for(let H=r?c:c+D;H<P;H++){const Z=o[H];if(H<h&&n===Z||H>=h&&Z.type===n)return H}if(i){const H=o[h];if(H&&fn(H)&&H.type===n)return h}return null}function xs(e,t,n,r){let i=e[n];const s=t.data;if(function rt(e){return e instanceof Le}(i)){const o=i;o.resolving&&function W(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new B(-200,`Circular dependency in DI detected for ${e}${n}`)}(function T(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():S(e)}(s[n]));const c=So(o.canSeeViewProviders);o.resolving=!0;const h=o.injectImpl?R(o.injectImpl):null;m(e,r,we.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xt(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Gr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==h&&R(h),So(c),o.resolving=!1,me()}}return i}function ic(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sc(e,t){return!(e&we.Self||e&we.Host&&t)}class Li{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return nc(this._tNode,this._lView,t,r,n)}}function Lg(){return new Li(Mt(),ie())}function oc(e){return Ie(()=>{const t=e.prototype.constructor,n=t[zt]||Ra(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[zt]||Ra(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ra(e){return re(e)?()=>{const t=Ra(fe(e));return t&&t()}:qn(e)}function ac(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Oa(e){return function Rg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(vr(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Mt(),e)}const Bi="__parameters__";function ji(e,t,n){return Ie(()=>{const r=function xa(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return c.annotation=o,c;function c(h,g,D){const w=h.hasOwnProperty(Bi)?h[Bi]:Object.defineProperty(h,Bi,{value:[]})[Bi];for(;w.length<=D;)w.push(null);return(w[D]=w[D]||[]).push(o),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class vt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=at({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Tn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Tn(r,t)):t!==e&&t.push(r)}return t}function xr(e,t){e.forEach(n=>Array.isArray(n)?xr(n,t):t(n))}function uc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ao(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function An(e,t,n){let r=Vi(e,t);return r>=0?e[1|r]=n:(r=~r,function Vg(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ka(e,t){const n=Vi(e,t);if(n>=0)return e[1|n]}function Vi(e,t){return function fc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Hs={},Ha="__NG_DI_FLAG__",No="ngTempTokenPath",Qg=/\n/gm,hc="__source";let js;function $i(e){const t=js;return js=e,t}function Zg(e,t=we.Default){if(void 0===js)throw new B(-203,!1);return null===js?oe(e,void 0,t):js.get(e,t&we.Optional?null:void 0,t)}function Ht(e,t=we.Default){return(function M(){return j}()||Zg)(fe(e),t)}function ja(e){const t=[];for(let n=0;n<e.length;n++){const r=fe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new B(900,!1);let i,s=we.Default;for(let o=0;o<r.length;o++){const c=r[o],h=Xg(c);"number"==typeof h?-1===h?i=c.token:s|=h:i=c}t.push(Ht(i,s))}else t.push(Ht(r))}return t}function Vs(e,t){return e[Ha]=t,e.prototype[Ha]=t,e}function Xg(e){return e[Ha]}const Fo=Vs(ji("Optional"),8),Ro=Vs(ji("SkipSelf"),4);let $a,Lo,ko;function dm(e){$a=e}function zi(e){var t;return(null===(t=function Ua(){if(void 0===Lo&&(Lo=null,Ne.trustedTypes))try{Lo=Ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lo}())||void 0===t?void 0:t.createHTML(e))||e}function za(){if(void 0===ko&&(ko=null,Ne.trustedTypes))try{ko=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ko}function Cc(e){var t;return(null===(t=za())||void 0===t?void 0:t.createHTML(e))||e}function Sc(e){var t;return(null===(t=za())||void 0===t?void 0:t.createScriptURL(e))||e}class ui{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pm extends ui{getTypeName(){return"HTML"}}class gm extends ui{getTypeName(){return"Style"}}class mm extends ui{getTypeName(){return"Script"}}class ym extends ui{getTypeName(){return"URL"}}class vm extends ui{getTypeName(){return"ResourceURL"}}function Lr(e){return e instanceof ui?e.changingThisBreaksApplicationSecurity:e}function Gi(e,t){const n=function Dm(e){return e instanceof ui&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function _m(e){return new pm(e)}function Em(e){return new gm(e)}function wm(e){return new mm(e)}function Cm(e){return new ym(e)}function bm(e){return new vm(e)}class Sm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(zi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Mm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=zi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=zi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Tm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Bo(e){return(e=String(e)).match(Tm)?e:"unsafe:"+e}function kr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zs(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ic=kr("area,br,col,hr,img,wbr"),Tc=kr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ac=kr("rp,rt"),Ga=zs(Ic,zs(Tc,kr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),zs(Ac,kr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zs(Ac,Tc)),Wa=kr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pc=zs(Wa,kr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),kr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Am=kr("script,style,template");class Pm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ga.hasOwnProperty(n))return this.sanitizedSomething=!0,!Am.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,c=o.toLowerCase();if(!Pc.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let h=s.value;Wa[c]&&(h=Bo(h)),this.buf.push(" ",o,'="',Nc(h),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ga.hasOwnProperty(n)&&!Ic.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Nc(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fm=/([^\#-~ |!])/g;function Nc(e){return e.replace(/&/g,"&amp;").replace(Nm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Fm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ho;function Fc(e,t){let n=null;try{Ho=Ho||function Mc(e){const t=new Mm(e);return function Im(){try{return!!(new window.DOMParser).parseFromString(zi(""),"text/html")}catch{return!1}}()?new Sm(t):t}(e);let r=t?String(t):"";n=Ho.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Ho.getInertBodyElement(r)}while(r!==s);return zi((new Pm).sanitizeChildren(Ka(n)||n))}finally{if(n){const r=Ka(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ka(e){return"content"in e&&function Rm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var kt=(()=>((kt=kt||{})[kt.NONE=0]="NONE",kt[kt.HTML=1]="HTML",kt[kt.STYLE=2]="STYLE",kt[kt.SCRIPT=3]="SCRIPT",kt[kt.URL=4]="URL",kt[kt.RESOURCE_URL=5]="RESOURCE_URL",kt))();function Rc(e){const t=Gs();return t?Cc(t.sanitize(kt.HTML,e)||""):Gi(e,"HTML")?Cc(Lr(e)):Fc(function wc(){return void 0!==$a?$a:typeof document<"u"?document:void 0}(),S(e))}function Oc(e){const t=Gs();return t?t.sanitize(kt.URL,e)||"":Gi(e,"URL")?Lr(e):Bo(S(e))}function xc(e){const t=Gs();if(t)return Sc(t.sanitize(kt.RESOURCE_URL,e)||"");if(Gi(e,"ResourceURL"))return Sc(Lr(e));throw new B(904,!1)}function Lc(e,t,n){return function Bm(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?xc:Oc}(t,n)(e)}function Gs(){const e=ie();return e&&e[12]}const kc=new vt("ENVIRONMENT_INITIALIZER"),Bc=new vt("INJECTOR",-1),Hc=new vt("INJECTOR_DEF_TYPES");class jc{get(t,n=Hs){if(n===Hs){const r=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw r.name="NullInjectorError",r}return n}}function Hm(...e){return{\u0275providers:Vc(0,e)}}function Vc(e,...t){const n=[],r=new Set;let i;return xr(t,s=>{const o=s;qa(o,n,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&$c(i,n),n}function $c(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];xr(i,s=>{t.push(s)})}}function qa(e,t,n,r){if(!(e=fe(e)))return!1;let i=null,s=vn(e);const o=!s&&b(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const h=e.ngModule;if(s=vn(h),!s)return!1;i=h}const c=r.has(i);if(o){if(c)return!1;if(r.add(i),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const g of h)qa(g,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!c){let g;r.add(i);try{xr(s.imports,D=>{qa(D,t,n,r)&&(g||(g=[]),g.push(D))})}finally{}void 0!==g&&$c(g,t)}if(!c){const g=qn(i)||(()=>new i);t.push({provide:i,useFactory:g,deps:Ae},{provide:Hc,useValue:i,multi:!0},{provide:kc,useValue:()=>Ht(i),multi:!0})}const h=s.providers;null==h||c||xr(h,D=>{t.push(D)})}}return i!==e&&void 0!==e.providers}const jm=ee({provide:String,useValue:ee});function Qa(e){return null!==e&&"object"==typeof e&&jm in e}function ci(e){return"function"==typeof e}const Ya=new vt("Set Injector scope."),jo={},$m={};let Za;function Vo(){return void 0===Za&&(Za=new jc),Za}class Wi{}class Gc extends Wi{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xa(t,o=>this.processProvider(o)),this.records.set(Bc,Ki(void 0,this)),i.has("environment")&&this.records.set(Wi,Ki(void 0,this));const s=this.records.get(Ya);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Hc.multi,Ae,we.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=$i(this),r=R(void 0);try{return t()}finally{$i(n),R(r)}}get(t,n=Hs,r=we.Default){this.assertNotDestroyed();const i=$i(this),s=R(void 0);try{if(!(r&we.SkipSelf)){let c=this.records.get(t);if(void 0===c){const h=function Km(e){return"function"==typeof e||"object"==typeof e&&e instanceof vt}(t)&&un(t);c=h&&this.injectableDefInScope(h)?Ki(Ja(t),jo):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&we.Self?Vo():this.parent).get(t,n=r&we.Optional&&n===Hs?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[No]=o[No]||[]).unshift(_e(t)),i)throw o;return function em(e,t,n,r){const i=e[No];throw t[hc]&&i.unshift(t[hc]),e.message=function tm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=_e(t);if(Array.isArray(t))i=t.map(_e).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];s.push(o+":"+("string"==typeof c?JSON.stringify(c):_e(c)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Qg,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[No]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{R(s),$i(i)}}resolveInjectorInitializers(){const t=$i(this),n=R(void 0);try{const r=this.get(kc.multi,Ae,we.Self);for(const i of r)i()}finally{$i(t),R(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(_e(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,!1)}processProvider(t){let n=ci(t=fe(t))?t:fe(t&&t.provide);const r=function zm(e){return Qa(e)?Ki(void 0,e.useValue):Ki(Wc(e),jo)}(t);if(ci(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Ki(void 0,jo,!0),i.factory=()=>ja(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===jo&&(n.value=$m,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Wm(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=fe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ja(e){const t=un(e),n=null!==t?t.factory:qn(e);if(null!==n)return n;if(e instanceof vt)throw new B(204,!1);if(e instanceof Function)return function Um(e){const t=e.length;if(t>0)throw Bs(t,"?"),new B(204,!1);const n=function Cn(e){const t=e&&(e[Nn]||e[Fn]);if(t){const n=function Ir(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new B(204,!1)}function Wc(e,t,n){let r;if(ci(e)){const i=fe(e);return qn(i)||Ja(i)}if(Qa(e))r=()=>fe(e.useValue);else if(function zc(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ja(e.deps||[]));else if(function Uc(e){return!(!e||!e.useExisting)}(e))r=()=>Ht(fe(e.useExisting));else{const i=fe(e&&(e.useClass||e.provide));if(!function Gm(e){return!!e.deps}(e))return qn(i)||Ja(i);r=()=>new i(...ja(e.deps))}return r}function Ki(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qm(e){return!!e.\u0275providers}function Xa(e,t){for(const n of e)Array.isArray(n)?Xa(n,t):qm(n)?Xa(n.\u0275providers,t):t(n)}class Kc{}class Zm{resolveComponentFactory(t){throw function Ym(e){const t=Error(`No component factory found for ${_e(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let $o=(()=>{class e{}return e.NULL=new Zm,e})();function Jm(){return qi(Mt(),ie())}function qi(e,t){return new Ws(Jt(e,t))}let Ws=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Jm,e})();function Xm(e){return e instanceof Ws?e.nativeElement:e}class Qc{}let ey=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ty(){const e=ie(),n=Ot(Mt().index,e);return(Wt(n)?n:e)[11]}(),e})(),ny=(()=>{class e{}return e.\u0275prov=at({token:e,providedIn:"root",factory:()=>null}),e})();class Yc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ry=new Yc("14.2.9"),el={};function sl(e){return e.ngOriginalError}class Ks{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&sl(t);for(;n&&sl(n);)n=sl(n);return n||null}}const ol=new Map;let gy=0;const ll="__ngContext__";function on(e,t){Wt(t)?(e[ll]=t[20],function yy(e){ol.set(e[20],e)}(t)):e[ll]=t}var _r=(()=>((_r=_r||{})[_r.Important=1]="Important",_r[_r.DashCase=2]="DashCase",_r))();function cl(e,t){return undefined(e,t)}function Qs(e){const t=e[3];return rn(t)?t[3]:t}function dl(e){return cd(e[13])}function fl(e){return cd(e[4])}function cd(e){for(;null!==e&&!rn(e);)e=e[4];return e}function Yi(e,t,n,r,i){if(null!=r){let s,o=!1;rn(r)?s=r:Wt(r)&&(o=!0,r=r[0]);const c=nt(r);0===e&&null!==n?null==i?md(t,n,c):di(t,n,c,i||null,!0):1===e&&null!==n?di(t,n,c,i||null,!0):2===e?function Cd(e,t,n){const r=Uo(e,t);r&&function zy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,o):3===e&&t.destroyNode(c),null!=s&&function Ky(e,t,n,r,i){const s=n[7];s!==nt(n)&&Yi(t,e,r,s,i);for(let c=10;c<n.length;c++){const h=n[c];Ys(h[1],h,e,t,r,s)}}(t,e,s,n,i)}}function pl(e,t,n){return e.createElement(t,n)}function fd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,fr(i,-1)),n.splice(r,1)}function gl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&fd(i,r),t>0&&(e[n-1][4]=r[4]);const s=Ao(e,10+t);!function Ly(e,t){Ys(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function hd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ys(e,t,n,3,null,null),function Hy(e){let t=e[13];if(!t)return ml(e[1],e);for(;t;){let n=null;if(Wt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Wt(t)&&ml(t[1],t),t=t[3];null===t&&(t=e),Wt(t)&&ml(t[1],t),n=t&&t[4]}t=n}}(t)}}function ml(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Uy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Le)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const c=i[s[o]],h=s[o+1];try{h.call(c)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function $y(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],c="function"==typeof o?o(t):nt(t[o]),h=r[i=n[s+2]],g=n[s+3];"boolean"==typeof g?c.removeEventListener(n[s],h,g):g>=0?r[i=g]():r[i=-g].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&rn(t[3])){n!==t[3]&&fd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function vy(e){ol.delete(e[20])}(t)}}function pd(e,t,n){return function gd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===ut.None||i===ut.Emulated)return null}return Jt(r,n)}(e,t.parent,n)}function di(e,t,n,r,i){e.insertBefore(t,n,r,i)}function md(e,t,n){e.appendChild(t,n)}function yd(e,t,n,r,i){null!==r?di(e,t,n,r,i):md(e,t,n)}function Uo(e,t){return e.parentNode(t)}function vd(e,t,n){return _d(e,t,n)}let _d=function Dd(e,t,n){return 40&e.type?Jt(e,n):null};function zo(e,t,n,r){const i=pd(e,r,t),s=t[11],c=vd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;h<n.length;h++)yd(s,i,n[h],c,!1);else yd(s,i,n,c,!1)}function Go(e,t){if(null!==t){const n=t.type;if(3&n)return Jt(t,e);if(4&n)return vl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Go(e,r);{const i=e[t.index];return rn(i)?vl(-1,i):nt(i)}}if(32&n)return cl(t,e)()||nt(e[t.index]);{const r=wd(e,t);return null!==r?Array.isArray(r)?r[0]:Go(Qs(e[16]),r):Go(e,t.next)}}return null}function wd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function vl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Go(r,i)}return t[7]}function Dl(e,t,n,r,i,s,o){for(;null!=n;){const c=r[n.index],h=n.type;if(o&&0===t&&(c&&on(nt(c),r),n.flags|=4),64!=(64&n.flags))if(8&h)Dl(e,t,n.child,r,i,s,!1),Yi(t,e,i,c,s);else if(32&h){const g=cl(n,r);let D;for(;D=g();)Yi(t,e,i,D,s);Yi(t,e,i,c,s)}else 16&h?bd(e,t,r,n,i,s):Yi(t,e,i,c,s);n=o?n.projectionNext:n.next}}function Ys(e,t,n,r,i,s){Dl(n,r,e.firstChild,t,i,s,!1)}function bd(e,t,n,r,i,s){const o=n[16],h=o[6].projection[r.projection];if(Array.isArray(h))for(let g=0;g<h.length;g++)Yi(t,e,i,h[g],s);else Dl(e,t,h,o[3],i,s,!0)}function Sd(e,t,n){e.setAttribute(t,"style",n)}function _l(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Md(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Id="ng-template";function Qy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Md(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Td(e){return 4===e.type&&e.value!==Id}function Yy(e,t,n){return t===(4!==e.type||n?e.value:Id)}function Zy(e,t,n){let r=4;const i=e.attrs||[],s=function ev(e){for(let t=0;t<e.length;t++)if(vr(e[t]))return t;return e.length}(i);let o=!1;for(let c=0;c<t.length;c++){const h=t[c];if("number"!=typeof h){if(!o)if(4&r){if(r=2|1&r,""!==h&&!Yy(e,h,n)||""===h&&1===t.length){if(Yn(r))return!1;o=!0}}else{const g=8&r?h:t[++c];if(8&r&&null!==e.attrs){if(!Qy(e.attrs,g,n)){if(Yn(r))return!1;o=!0}continue}const w=Jy(8&r?"class":h,i,Td(e),n);if(-1===w){if(Yn(r))return!1;o=!0;continue}if(""!==g){let P;P=w>s?"":i[w+1].toLowerCase();const H=8&r?P:null;if(H&&-1!==Md(H,g,0)||2&r&&g!==P){if(Yn(r))return!1;o=!0}}}}else{if(!o&&!Yn(r)&&!Yn(h))return!1;if(o&&Yn(h))continue;o=!1,r=h|1&r}}return Yn(r)||o}function Yn(e){return 0==(1&e)}function Jy(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const o=t[i];if(o===e)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let c=t[++i];for(;"string"==typeof c;)c=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function tv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ad(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zy(e,t[r],n))return!0;return!1}function nv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Pd(e,t){return e?":not("+t.trim()+")":t}function rv(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const c=e[++n];i+="["+o+(c.length>0?'="'+c+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!Yn(o)&&(t+=Pd(s,i),i=""),r=o,s=s||!Yn(r);n++}return""!==i&&(t+=Pd(s,i)),t}const tt={};function Nd(e){Fd(it(),ie(),$e()+e,!1)}function Fd(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&pr(t,s,n)}else{const s=e.preOrderHooks;null!==s&&gr(t,s,0,n)}We(n)}function Ld(e,t=null,n=null,r){const i=kd(e,t,n,r);return i.resolveInjectorInitializers(),i}function kd(e,t=null,n=null,r,i=new Set){const s=[n||Ae,Hm(e)];return r=r||("object"==typeof e?void 0:_e(e)),new Gc(s,t||Vo(),r||null,i)}let fi=(()=>{class e{static create(n,r){if(Array.isArray(n))return Ld({name:""},r,n,"");{var i;const s=null!==(i=n.name)&&void 0!==i?i:"";return Ld({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Hs,e.NULL=new jc,e.\u0275prov=at({token:e,providedIn:"any",factory:()=>Ht(Bc)}),e.__NG_ELEMENT_ID__=-1,e})();function Ji(e,t=we.Default){const n=ie();return null===n?Ht(e,t):nc(Mt(),n,fe(e),t)}function Ko(e,t){return e<<17|t<<2}function Zn(e){return e>>17&32767}function Sl(e){return 2|e}function Hr(e){return(131068&e)>>2}function Ml(e,t){return-131069&e|t<<2}function Il(e){return 1|e}function ef(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=e.data[s];f(i),o.contentQueries(2,t[s],s)}}}function Yo(e,t,n,r,i,s,o,c,h,g,D){const w=t.blueprint.slice();return w[0]=i,w[2]=76|r,(null!==D||e&&1024&e[2])&&(w[2]|=1024),dr(w),w[3]=w[15]=e,w[8]=n,w[10]=o||e&&e[10],w[11]=c||e&&e[11],w[12]=h||e&&e[12]||null,w[9]=g||e&&e[9]||null,w[6]=s,w[20]=function my(){return gy++}(),w[21]=D,w[16]=2==t.type?e[16]:w,w}function Xi(e,t,n,r,i){let s=e.data[t];if(null===s)s=function xl(e,t,n,r,i){const s=Rr(),o=qr(),h=e.data[t]=function jv(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==s&&(o?null==s.child&&null!==h.parent&&(s.child=h):null===s.next&&(s.next=h)),h}(e,t,n,r,i),function v(){return qe.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function Mn(){const e=qe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return pn(s,!0),s}function es(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ll(e,t,n){C(t);try{const r=e.viewQuery;null!==r&&zl(1,r,n);const i=e.template;null!==i&&tf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&ef(e,t),e.staticViewQueries&&zl(2,e.viewQuery,n);const s=e.components;null!==s&&function kv(e,t){for(let n=0;n<t.length;n++)nD(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ye()}}function Zo(e,t,n,r){const i=t[2];if(128!=(128&i)){C(t);try{dr(t),function Fs(e){return qe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&tf(e,t,n,2,r);const o=3==(3&i);if(o){const g=e.preOrderCheckHooks;null!==g&&pr(t,g,null)}else{const g=e.preOrderHooks;null!==g&&gr(t,g,0,null),mr(t,0)}if(function eD(e){for(let t=dl(e);null!==t;t=fl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&fr(s,1),i[2]|=512}}}(t),function Xv(e){for(let t=dl(e);null!==t;t=fl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Kr(r)&&Zo(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&ef(e,t),o){const g=e.contentCheckHooks;null!==g&&pr(t,g)}else{const g=e.contentHooks;null!==g&&gr(t,g,1),mr(t,1)}!function xv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)We(~i);else{const s=i,o=n[++r],c=n[++r];u(o,s),c(2,t[s])}}}finally{We(-1)}}(e,t);const c=e.components;null!==c&&function Lv(e,t){for(let n=0;n<t.length;n++)tD(e,t[n])}(t,c);const h=e.viewQuery;if(null!==h&&zl(2,h,r),o){const g=e.viewCheckHooks;null!==g&&pr(t,g)}else{const g=e.viewHooks;null!==g&&gr(t,g,2),mr(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,fr(t[3],-1))}finally{ye()}}}function tf(e,t,n,r,i){const s=$e(),o=2&r;try{We(-1),o&&t.length>22&&Fd(e,t,22,!1),n(r,i)}finally{We(s)}}function nf(e,t,n){if(_i(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function kl(e,t,n){!oi()||(function Gv(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Os(n,t),on(r,t);const o=n.initialInputs;for(let c=i;c<s;c++){const h=e.data[c],g=fn(h);g&&Yv(t,n,h);const D=xs(t,e,c,n);on(D,t),null!==o&&Zv(0,c-i,D,h,0,o),g&&(Ot(n.index,t)[8]=D)}}(e,t,n,Jt(n,t)),128==(128&n.flags)&&function Wv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=function p(){return qe.lFrame.currentDirectiveIndex}();try{We(s);for(let c=r;c<i;c++){const h=e.data[c],g=t[c];y(c),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&cf(h,g)}}finally{We(-1),y(o)}}(e,t,n))}function Bl(e,t,n=Jt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],c=-1===o?n(t,e):e[o];e[i++]=c}}}function rf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Hl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Hl(e,t,n,r,i,s,o,c,h,g){const D=22+r,w=D+i,P=function Bv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:tt);return n}(D,w),H="function"==typeof g?g():g;return P[1]={type:e,blueprint:P,template:n,queries:null,viewQuery:c,declTNode:t,data:P.slice().fill(null,D),bindingStartIndex:D,expandoStartIndex:w,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:h,consts:H,incompleteFirstPass:!1}}function sf(e,t,n,r){const i=gf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&mf(e).push(r,i.length-1))}function of(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function af(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let c=null,h=null;for(let g=t.directiveStart;g<r;g++){const D=i[g],w=D.inputs,P=null===s||Td(t)?null:Jv(w,s);o.push(P),c=of(w,g,c),h=of(D.outputs,g,h)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=16),c.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=c,t.outputs=h}function lf(e,t){const n=Ot(t,e);16&n[2]||(n[2]|=32)}function jl(e,t,n,r){let i=!1;if(oi()){const s=function Kv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];Ad(n,o.selectors,!1)&&(i||(i=[]),Io(Os(n,t),e,o.type),fn(o)?(df(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,ff(n,e.data.length,s.length);for(let D=0;D<s.length;D++){const w=s[D];w.providersResolver&&w.providersResolver(w)}let c=!1,h=!1,g=es(e,t,s.length,null);for(let D=0;D<s.length;D++){const w=s[D];n.mergedAttrs=Or(n.mergedAttrs,w.hostAttrs),hf(e,n,t,g,w),Qv(g,w,o),null!==w.contentQueries&&(n.flags|=8),(null!==w.hostBindings||null!==w.hostAttrs||0!==w.hostVars)&&(n.flags|=128);const P=w.type.prototype;!c&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),c=!0),!h&&(P.ngOnChanges||P.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),h=!0),g++}af(e,n)}o&&function qv(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new B(-301,!1);r.push(t[i],s)}}}(n,r,o)}return n.mergedAttrs=Or(n.mergedAttrs,n.attrs),i}function uf(e,t,n,r,i,s){const o=s.hostBindings;if(o){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const h=~t.index;(function zv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=h&&c.push(h),c.push(r,i,o)}}function cf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function df(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Qv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fn(t)&&(n[""]=e)}}function ff(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function hf(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=qn(i.type)),o=new Le(s,fn(i),Ji);e.blueprint[r]=o,n[r]=o,uf(e,t,0,r,es(e,n,i.hostVars,tt),i)}function Yv(e,t,n){const r=Jt(t,e),i=rf(n),s=e[10],o=Jo(e,Yo(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=o}function Er(e,t,n,r,i,s){const o=Jt(e,t);!function Vl(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const c=null==o?S(s):o(s,r||"",i);e.setAttribute(t,i,c,n)}}(t[11],o,s,e.value,n,r,i)}function Zv(e,t,n,r,i,s){const o=s[t];if(null!==o){const c=r.setInput;for(let h=0;h<o.length;){const g=o[h++],D=o[h++],w=o[h++];null!==c?r.setInput(n,w,g,D):n[D]=w}}}function Jv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function pf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function tD(e,t){const n=Ot(t,e);if(Kr(n)){const r=n[1];48&n[2]?Zo(r,n,r.template,n[8]):n[5]>0&&$l(n)}}function $l(e){for(let r=dl(e);null!==r;r=fl(r))for(let i=10;i<r.length;i++){const s=r[i];if(Kr(s))if(512&s[2]){const o=s[1];Zo(o,s,o.template,s[8])}else s[5]>0&&$l(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Ot(n[r],e);Kr(i)&&i[5]>0&&$l(i)}}function nD(e,t){const n=Ot(t,e),r=n[1];(function rD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ll(r,n,n[8])}function Jo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ul(e){for(;e;){e[2]|=32;const t=Qs(e);if(zr(e)&&!t)return e;e=t}return null}function Xo(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{Zo(e,t,e.template,n)}catch(o){throw r&&vf(t,o),o}finally{i.end&&i.end()}}function zl(e,t,n){f(0),t(e,n)}function gf(e){return e[7]||(e[7]=[])}function mf(e){return e.cleanup||(e.cleanup=[])}function vf(e,t){const n=e[9],r=n?n.get(Ks,null):null;r&&r.handleError(t)}function Gl(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],c=n[s++],h=t[o],g=e.data[o];null!==g.setInput?g.setInput(h,i,r,c):h[c]=i}}function ea(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const c=t[o];"number"==typeof c?s=c:1==s?i=Pe(i,c):2==s&&(r=Pe(r,c+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ta(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(nt(s)),rn(s))for(let c=10;c<s.length;c++){const h=s[c],g=h[1].firstChild;null!==g&&ta(h[1],h,g,r)}const o=n.type;if(8&o)ta(e,t,n.child,r);else if(32&o){const c=cl(n,t);let h;for(;h=c();)r.push(h)}else if(16&o){const c=wd(t,n);if(Array.isArray(c))r.push(...c);else{const h=Qs(t[16]);ta(h[1],h,c,r,!0)}}n=i?n.projectionNext:n.next}return r}class Zs{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ta(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(rn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(gl(t,r),Ao(n,r))}this._attachedToViewContainer=!1}hd(this._lView[1],this._lView)}onDestroy(t){sf(this._lView[1],this._lView,null,t)}markForCheck(){Ul(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Xo(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new B(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function By(e,t){Ys(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new B(902,!1);this._appRef=t}}class iD extends Zs{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Xo(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Wl extends $o{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=b(t);return new Js(n,this.ngModule)}}function Df(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class oD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,el,r);return i!==el||n===el?i:this.parentInjector.get(t,n,r)}}class Js extends Kc{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function iv(e){return e.map(rv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Df(this.componentDef.inputs)}get outputs(){return Df(this.componentDef.outputs)}create(t,n,r,i){var s;let o=(i=i||this.ngModule)instanceof Wi?i:null===(s=i)||void 0===s?void 0:s.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const c=o?new oD(t,o):t,h=c.get(Qc,null);if(null===h)throw new B(407,!1);const g=c.get(ny,null),D=h.createRenderer(null,this.componentDef),w=this.componentDef.selectors[0][0]||"div",P=r?function Hv(e,t,n){return e.selectRootElement(t,n===ut.ShadowDom)}(D,r,this.componentDef.encapsulation):pl(h.createRenderer(null,this.componentDef),w,function sD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(w)),H=this.componentDef.onPush?288:272,Z=Hl(0,null,null,1,0,null,null,null,null,null),ae=Yo(null,Z,null,H,null,null,h,D,g,c,null);let ve,Ce;C(ae);try{const Be=function uD(e,t,n,r,i,s){const o=n[1];n[22]=e;const h=Xi(o,22,2,"#host",null),g=h.mergedAttrs=t.hostAttrs;null!==g&&(ea(h,g,!0),null!==e&&(Lt(i,e,g),null!==h.classes&&_l(i,e,h.classes),null!==h.styles&&Sd(i,e,h.styles)));const D=r.createRenderer(e,t),w=Yo(n,rf(t),null,t.onPush?32:16,n[22],h,r,D,s||null,null,null);return o.firstCreatePass&&(Io(Os(h,n),o,t.type),df(o,h),ff(h,n.length,1)),Jo(n,w),n[22]=w}(P,this.componentDef,ae,h,D);if(P)if(r)Lt(D,P,["ng-version",ry.full]);else{const{attrs:se,classes:He}=function sv(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!Yn(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);se&&Lt(D,P,se),He&&He.length>0&&_l(D,P,He.join(" "))}if(Ce=Wr(Z,22),void 0!==n){const se=Ce.projection=[];for(let He=0;He<this.ngContentSelectors.length;He++){const st=n[He];se.push(null!=st?Array.from(st):null)}}ve=function cD(e,t,n,r){const i=n[1],s=function Uv(e,t,n){const r=Mt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),hf(e,r,t,es(e,t,1,null),n),af(e,r));const i=xs(t,e,r.directiveStart,r);on(i,t);const s=Jt(r,t);return s&&on(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const c of r)c(s,t);if(t.contentQueries){const c=Mt();t.contentQueries(1,s,c.directiveStart)}const o=Mt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(We(o.index),uf(n[1],o,0,o.directiveStart,o.directiveEnd,t),cf(t,s)),s}(Be,this.componentDef,ae,[dD]),Ll(Z,ae,null)}finally{ye()}return new lD(this.componentType,ve,qi(Ce,ae),ae,Ce)}}class lD extends class Qm{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new iD(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Gl(s[1],s,i,t,n),lf(s,this._tNode.index)}}get injector(){return new Li(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function dD(){const e=Mt();In(ie()[1],e)}function Kl(e){let t=function _f(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(fn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new B(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=ql(e.inputs),o.declaredInputs=ql(e.declaredInputs),o.outputs=ql(e.outputs);const c=i.hostBindings;c&&gD(e,c);const h=i.viewQuery,g=i.contentQueries;if(h&&hD(e,h),g&&pD(e,g),je(e.inputs,i.inputs),je(e.declaredInputs,i.declaredInputs),je(e.outputs,i.outputs),fn(i)&&i.data.animation){const D=e.data;D.animation=(D.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const c=s[o];c&&c.ngInherit&&c(e),c===Kl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function fD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Or(i.hostAttrs,n=Or(n,i.hostAttrs))}}(r)}function ql(e){return e===Ye?{}:e===Ae?[]:e}function hD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function pD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function gD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let na=null;function hi(){if(!na){const e=Ne.Symbol;if(e&&e.iterator)na=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(na=r)}}}return na}function Xs(e){return!!Ql(e)&&(Array.isArray(e)||!(e instanceof Map)&&hi()in e)}function Ql(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function wr(e,t,n){return e[t]=n}function an(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Yl(e,t,n,r){const i=ie();return an(i,Qr(),t)&&(it(),Er(Re(),i,e,t,n,r)),Yl}function Pf(e,t,n,r,i,s,o,c){const h=ie(),g=it(),D=e+22,w=g.firstCreatePass?function CD(e,t,n,r,i,s,o,c,h){const g=t.consts,D=Xi(t,e,4,o||null,Bn(g,c));jl(t,n,D,Bn(g,h)),In(t,D);const w=D.tViews=Hl(2,D,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,g);return null!==t.queries&&(t.queries.template(t,D),w.queries=t.queries.embeddedTView(D)),D}(D,g,h,t,n,r,i,s,o):g.data[D];pn(w,!1);const P=h[11].createComment("");zo(g,h,P,w),on(P,h),Jo(h,h[D]=pf(P,h,P,w)),cr(w)&&kl(g,h,w),null!=o&&Bl(h,w,c)}function Nf(e){return Bt(function Co(){return qe.lFrame.contextLView}(),22+e)}function Zl(e,t,n){const r=ie();return an(r,Qr(),t)&&function Pn(e,t,n,r,i,s,o,c){const h=Jt(t,n);let D,g=t.inputs;!c&&null!=g&&(D=g[r])?(Gl(e,n,D,r,i),Kt(t)&&lf(n,t.index)):3&t.type&&(r=function Vv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(h,r,i))}(it(),Re(),r,e,t,r[11],n,!1),Zl}function Jl(e,t,n,r,i){const o=i?"class":"style";Gl(e,n,t.inputs[o],o,r)}function ia(e,t,n,r){const i=ie(),s=it(),o=22+e,c=i[11],h=i[o]=pl(c,t,function Qn(){return qe.lFrame.currentNamespace}()),g=s.firstCreatePass?function SD(e,t,n,r,i,s,o){const c=t.consts,g=Xi(t,e,2,i,Bn(c,s));return jl(t,n,g,Bn(c,o)),null!==g.attrs&&ea(g,g.attrs,!1),null!==g.mergedAttrs&&ea(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(o,s,i,0,t,n,r):s.data[o];pn(g,!0);const D=g.mergedAttrs;null!==D&&Lt(c,h,D);const w=g.classes;null!==w&&_l(c,h,w);const P=g.styles;return null!==P&&Sd(c,h,P),64!=(64&g.flags)&&zo(s,i,h,g),0===function _o(){return qe.lFrame.elementDepthCount}()&&on(h,i),function Ni(){qe.lFrame.elementDepthCount++}(),cr(g)&&(kl(s,i,g),nf(s,g,i)),null!==r&&Bl(i,g),ia}function sa(){let e=Mt();qr()?Fi():(e=e.parent,pn(e,!1));const t=e;!function Eo(){qe.lFrame.elementDepthCount--}();const n=it();return n.firstCreatePass&&(In(n,e),_i(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yr(e){return 0!=(16&e.flags)}(t)&&Jl(n,t,ie(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Dt(e){return 0!=(32&e.flags)}(t)&&Jl(n,t,ie(),t.stylesWithoutHost,!1),sa}function Xl(e,t,n,r){return ia(e,t,n,r),sa(),Xl}function oa(e,t,n){const r=ie(),i=it(),s=e+22,o=i.firstCreatePass?function MD(e,t,n,r,i){const s=t.consts,o=Bn(s,r),c=Xi(t,e,8,"ng-container",o);return null!==o&&ea(c,o,!0),jl(t,n,c,Bn(s,i)),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,r,t,n):i.data[s];pn(o,!0);const c=r[s]=r[11].createComment("");return zo(i,r,c,o),on(c,r),cr(o)&&(kl(i,r,o),nf(i,o,r)),null!=n&&Bl(r,o),oa}function aa(){let e=Mt();const t=it();return qr()?Fi():(e=e.parent,pn(e,!1)),t.firstCreatePass&&(In(t,e),_i(e)&&t.queries.elementEnd(e)),aa}function eu(e,t,n){return oa(e,t,n),aa(),eu}function Ff(){return ie()}function tu(e){return!!e&&"function"==typeof e.then}function Rf(e){return!!e&&"function"==typeof e.subscribe}const ID=Rf;function nu(e,t,n,r){const i=ie(),s=it(),o=Mt();return function xf(e,t,n,r,i,s,o,c){const h=cr(r),D=e.firstCreatePass&&mf(e),w=t[8],P=gf(t);let H=!0;if(3&r.type||c){const ve=Jt(r,t),Ce=c?c(ve):ve,Be=P.length,se=c?st=>c(nt(st[r.index])):r.index;let He=null;if(!c&&h&&(He=function TD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const c=t[7],h=i[s+2];return c.length>h?c[h]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==He)(He.__ngLastListenerFn__||He).__ngNextListenerFn__=s,He.__ngLastListenerFn__=s,H=!1;else{s=kf(r,t,w,s,!1);const st=n.listen(Ce,i,s);P.push(s,st),D&&D.push(i,se,Be,Be+1)}}else s=kf(r,t,w,s,!1);const Z=r.outputs;let ae;if(H&&null!==Z&&(ae=Z[i])){const ve=ae.length;if(ve)for(let Ce=0;Ce<ve;Ce+=2){const St=t[ae[Ce]][ae[Ce+1]].subscribe(s),yi=P.length;P.push(s,St),D&&D.push(i,r.index,yi,-(yi+1))}}}(s,i,i[11],o,e,t,0,r),nu}function Lf(e,t,n,r){try{return!1!==n(r)}catch(i){return vf(e,i),!1}}function kf(e,t,n,r,i){return function s(o){if(o===Function)return r;Ul(2&e.flags?Ot(e.index,t):t);let h=Lf(t,0,r,o),g=s.__ngNextListenerFn__;for(;g;)h=Lf(t,0,g,o)&&h,g=g.__ngNextListenerFn__;return i&&!1===h&&(o.preventDefault(),o.returnValue=!1),h}}function Bf(e=1){return function Fe(e){return(qe.lFrame.contextLView=function be(e,t){for(;e>0;)t=t[15],e--;return t}(e,qe.lFrame.contextLView))[8]}(e)}function AD(e,t){let n=null;const r=function Xy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Ad(e,s,!0):nv(r,s))return i}else n=i}return n}function Hf(e){const t=ie()[16][6];if(!t.projection){const r=t.projection=Bs(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=e?AD(s,e):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function jf(e,t=0,n){const r=ie(),i=it(),s=Xi(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Fi(),64!=(64&s.flags)&&function Wy(e,t,n){bd(t[11],0,t,n,pd(e,n,t),vd(n.parent||t[6],n,t))}(i,r,s)}function Yf(e,t,n,r,i){const s=e[n+1],o=null===t;let c=r?Zn(s):Hr(s),h=!1;for(;0!==c&&(!1===h||o);){const D=e[c+1];FD(e[c],t)&&(h=!0,e[c+1]=r?Il(D):Sl(D)),c=r?Zn(D):Hr(D)}h&&(e[n+1]=r?Sl(s):Il(s))}function FD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vi(e,t)>=0}function iu(e,t){return function Jn(e,t,n,r){const i=ie(),s=it(),o=function jn(e){const t=qe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function sh(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[$e()],o=function ih(e,t){return t>=e.expandoStartIndex}(e,n);(function uh(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function VD(e,t,n,r){const i=function E(e){const t=qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=to(n=su(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=su(i,e,t,n,r),null===s){let h=function $D(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Hr(r))return e[Zn(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=su(null,e,t,h[1],r),h=to(h,t.attrs,r),function UD(e,t,n,r){e[Zn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function zD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=to(r,e[s].hostAttrs,n);return to(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function PD(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,c=Zn(o),h=Hr(o);e[r]=n;let D,g=!1;if(Array.isArray(n)){const w=n;D=w[1],(null===D||Vi(w,D)>0)&&(g=!0)}else D=n;if(i)if(0!==h){const P=Zn(e[c+1]);e[r+1]=Ko(P,c),0!==P&&(e[P+1]=Ml(e[P+1],r)),e[c+1]=function Sv(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Ko(c,0),0!==c&&(e[c+1]=Ml(e[c+1],r)),c=r;else e[r+1]=Ko(h,0),0===c?c=r:e[h+1]=Ml(e[h+1],r),h=r;g&&(e[r+1]=Sl(e[r+1])),Yf(e,D,r,!0),Yf(e,D,r,!1),function ND(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Vi(s,t)>=0&&(n[r+1]=Il(n[r+1]))}(t,D,e,r,s),o=Ko(c,h),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}(s,e,o,r),t!==tt&&an(i,o,t)&&function ah(e,t,n,r,i,s,o,c){if(!(3&t.type))return;const h=e.data,g=h[c+1];la(function Wd(e){return 1==(1&e)}(g)?lh(h,t,n,i,Hr(g),o):void 0)||(la(s)||function Gd(e){return 2==(2&e)}(g)&&(s=lh(h,null,n,i,c,o)),function qy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:_r.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=_r.Important),e.setStyle(n,r,i,s))}}(r,o,si($e(),n),i,s))}(s,s.data[$e()],i,i[11],e,i[o+1]=function KD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=_e(Lr(e)))),e}(t,n),r,o)}(e,t,null,!0),iu}function su(e,t,n,r,i){let s=null;const o=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c<o&&(s=t[c],r=to(r,s.hostAttrs,i),s!==e);)c++;return null!==e&&(n.directiveStylingLast=c),r}function to(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),An(e,o,!!n||t[++s]))}return void 0===e?null:e}function lh(e,t,n,r,i,s){const o=null===t;let c;for(;i>0;){const h=e[i],g=Array.isArray(h),D=g?h[1]:h,w=null===D;let P=n[i+1];P===tt&&(P=w?Ae:void 0);let H=w?ka(P,r):D===r?P:void 0;if(g&&!la(H)&&(H=ka(h,r)),la(H)&&(c=H,o))return c;const Z=e[i+1];i=o?Zn(Z):Hr(Z)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(c=ka(h,r))}return c}function la(e){return void 0!==e}function ch(e,t=""){const n=ie(),r=it(),i=e+22,s=r.firstCreatePass?Xi(r,i,1,t,null):r.data[i],o=n[i]=function hl(e,t){return e.createText(t)}(n[11],t);zo(r,n,o,s),pn(s,!1)}function ou(e){return ua("",e,""),ou}function ua(e,t,n){const r=ie(),i=function ns(e,t,n,r){return an(e,Qr(),n)?t+S(n)+r:tt}(r,e,t,n);return i!==tt&&function jr(e,t,n){const r=si(t,e);!function dd(e,t,n){e.setValue(t,n)}(e[11],r,n)}(r,$e(),i),ua}const gi=void 0;var h_=["en",[["a","p"],["AM","PM"],gi],[["AM","PM"],gi,gi],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gi,"{1} 'at' {0}",gi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function f_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ds={};function au(e){const t=function p_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Nh(t);if(n)return n;const r=t.split("-")[0];if(n=Nh(r),n)return n;if("en"===r)return h_;throw new B(701,!1)}function Ph(e){return au(e)[Ge.PluralCase]}function Nh(e){return e in ds||(ds[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),ds[e]}var Ge=(()=>((Ge=Ge||{})[Ge.LocaleId=0]="LocaleId",Ge[Ge.DayPeriodsFormat=1]="DayPeriodsFormat",Ge[Ge.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ge[Ge.DaysFormat=3]="DaysFormat",Ge[Ge.DaysStandalone=4]="DaysStandalone",Ge[Ge.MonthsFormat=5]="MonthsFormat",Ge[Ge.MonthsStandalone=6]="MonthsStandalone",Ge[Ge.Eras=7]="Eras",Ge[Ge.FirstDayOfWeek=8]="FirstDayOfWeek",Ge[Ge.WeekendRange=9]="WeekendRange",Ge[Ge.DateFormat=10]="DateFormat",Ge[Ge.TimeFormat=11]="TimeFormat",Ge[Ge.DateTimeFormat=12]="DateTimeFormat",Ge[Ge.NumberSymbols=13]="NumberSymbols",Ge[Ge.NumberFormats=14]="NumberFormats",Ge[Ge.CurrencyCode=15]="CurrencyCode",Ge[Ge.CurrencySymbol=16]="CurrencySymbol",Ge[Ge.CurrencyName=17]="CurrencyName",Ge[Ge.Currencies=18]="Currencies",Ge[Ge.Directionality=19]="Directionality",Ge[Ge.PluralCase=20]="PluralCase",Ge[Ge.ExtraData=21]="ExtraData",Ge))();const fs="en-US";let Fh=fs;function cu(e,t,n,r,i){if(e=fe(e),Array.isArray(e))for(let s=0;s<e.length;s++)cu(e[s],t,n,r,i);else{const s=it(),o=ie();let c=ci(e)?e:fe(e.provide),h=Wc(e);const g=Mt(),D=1048575&g.providerIndexes,w=g.directiveStart,P=g.providerIndexes>>20;if(ci(e)||!e.multi){const H=new Le(h,i,Ji),Z=fu(c,t,i?D:D+P,w);-1===Z?(Io(Os(g,o),s,c),du(s,e,t.length),t.push(c),g.directiveStart++,g.directiveEnd++,i&&(g.providerIndexes+=1048576),n.push(H),o.push(H)):(n[Z]=H,o[Z]=H)}else{const H=fu(c,t,D+P,w),Z=fu(c,t,D,D+P),ae=H>=0&&n[H],ve=Z>=0&&n[Z];if(i&&!ve||!i&&!ae){Io(Os(g,o),s,c);const Ce=function dE(e,t,n,r,i){const s=new Le(e,n,Ji);return s.multi=[],s.index=t,s.componentProviders=0,rp(s,i,r&&!n),s}(i?cE:uE,n.length,i,r,h);!i&&ve&&(n[Z].providerFactory=Ce),du(s,e,t.length,0),t.push(c),g.directiveStart++,g.directiveEnd++,i&&(g.providerIndexes+=1048576),n.push(Ce),o.push(Ce)}else du(s,e,H>-1?H:Z,rp(n[i?Z:H],h,!i&&r));!i&&r&&ve&&n[Z].componentProviders++}}}function du(e,t,n,r){const i=ci(t),s=function Vm(e){return!!e.useClass}(t);if(i||s){const h=(s?fe(t.useClass):t).prototype.ngOnDestroy;if(h){const g=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const D=g.indexOf(n);-1===D?g.push(n,[r,h]):g[D+1].push(r,h)}else g.push(n,h)}}}function rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fu(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function uE(e,t,n,r){return hu(this.multi,[])}function cE(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,c=xs(n,n[1],this.providerFactory.index,r);s=c.slice(0,o),hu(i,s);for(let h=o;h<c.length;h++)s.push(c[h])}else s=[],hu(i,s);return s}function hu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ip(e,t=[]){return n=>{n.providersResolver=(r,i)=>function lE(e,t,n){const r=it();if(r.firstCreatePass){const i=fn(e);cu(n,r.data,r.blueprint,i,!0),cu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class hs{}function hE(e,t){return new sp(e,t??null)}class sp extends hs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wl(this);const r=function ze(e,t){const n=e[tn]||null;if(!n&&!0===t)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Br(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=kd(t,n,[{provide:hs,useValue:this},{provide:$o,useValue:this.componentFactoryResolver}],_e(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pu extends class fE{}{constructor(t){super(),this.moduleType=t}create(t){return new sp(this.moduleType,t)}}function hp(e,t,n,r){return gp(ie(),Vt(),e,t,n,r)}function pp(e,t,n,r,i){return function mp(e,t,n,r,i,s,o){const c=t+n;return function pi(e,t,n,r){const i=an(e,t,n);return an(e,t+1,r)||i}(e,c,i,s)?wr(e,c+2,o?r.call(o,i,s):r(i,s)):ao(e,c+2)}(ie(),Vt(),e,t,n,r,i)}function ao(e,t){const n=e[t];return n===tt?void 0:n}function gp(e,t,n,r,i,s){const o=t+n;return an(e,o,i)?wr(e,o+1,s?r.call(s,i):r(i)):ao(e,o+1)}function _p(e,t){const n=it();let r;const i=e+22;n.firstCreatePass?(r=function RE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=qn(r.type)),o=R(Ji);try{const c=So(!1),h=s();return So(c),function bD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ie(),i,h),h}finally{R(o)}}function Ep(e,t,n){const r=e+22,i=ie(),s=Bt(i,r);return function lo(e,t){return e[1].data[t].pure}(i,r)?gp(i,Vt(),t,s.transform,n,s):s.transform(n)}function mu(e){return t=>{setTimeout(e,void 0,t)}}const Sr=class BE extends _.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){var c,h,g;const w=t;i=null===(c=w.next)||void 0===c?void 0:c.bind(w),s=null===(h=w.error)||void 0===h?void 0:h.bind(w),o=null===(g=w.complete)||void 0===g?void 0:g.bind(w)}this.__isAsync&&(s=mu(s),i&&(i=mu(i)),o&&(o=mu(o)));const D=super.subscribe({next:i,error:s,complete:o});return t instanceof I.w0&&t.add(D),D}};function HE(){return this._results[hi()]()}class yu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=hi(),r=yu.prototype;r[n]||(r[n]=HE)}get changes(){return this._changes||(this._changes=new Sr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=Tn(t);(this._changesDetected=!function Hg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let uo=(()=>{class e{}return e.__NG_ELEMENT_ID__=$E,e})();const jE=uo,VE=class extends jE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Yo(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(r)),Ll(r,i,t),new Zs(i)}};function $E(){return pa(Mt(),ie())}function pa(e,t){return 4&e.type?new VE(t,e,qi(e,t)):null}let ga=(()=>{class e{}return e.__NG_ELEMENT_ID__=UE,e})();function UE(){return bp(Mt(),ie())}const zE=ga,wp=class extends zE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new Li(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mo(this._hostTNode,this._hostLView);if(Zu(t)){const n=xi(t,this._hostLView),r=Oi(t);return new Li(n[1].data[r+8],n)}return new Li(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const o=t.createEmbeddedView(n||{},s);return this.insert(o,i),o}createComponent(t,n,r,i,s){const o=t&&!function ks(e){return"function"==typeof e}(t);let c;if(o)c=n;else{const w=n||{};c=w.index,r=w.injector,i=w.projectableNodes,s=w.environmentInjector||w.ngModuleRef}const h=o?t:new Js(b(t)),g=r||this.parentInjector;if(!s&&null==h.ngModule){const P=(o?g:this.parentInjector).get(Wi,null);P&&(s=P)}const D=h.create(g,i,void 0,s);return this.insert(D.hostView,c),D}insert(t,n){const r=t._lView,i=r[1];if(function Ai(e){return rn(e[3])}(r)){const D=this.indexOf(t);if(-1!==D)this.detach(D);else{const w=r[3],P=new wp(w,w[6],w[3]);P.detach(P.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function jy(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],uc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function Vy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const c=t[19];null!==c&&c.insertView(e),t[2]|=64}(i,r,o,s);const c=vl(s,o),h=r[11],g=Uo(h,o[7]);return null!==g&&function ky(e,t,n,r,i,s){r[0]=i,r[6]=t,Ys(e,r,n,1,i,s)}(i,o[6],h,r,g,c),t.attachToViewContainerRef(),uc(vu(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=gl(this._lContainer,n);r&&(Ao(vu(this._lContainer),n),hd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=gl(this._lContainer,n);return r&&null!=Ao(vu(this._lContainer),n)?new Zs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cp(e){return e[8]}function vu(e){return e[8]||(e[8]=[])}function bp(e,t){let n;const r=t[e.index];if(rn(r))n=r;else{let i;if(8&e.type)i=nt(r);else{const s=t[11];i=s.createComment("");const o=Jt(e,t);di(s,Uo(s,o),i,function Gy(e,t){return e.nextSibling(t)}(s,o),!1)}t[e.index]=n=pf(r,t,i,e),Jo(t,n)}return new wp(n,e,t)}class Du{constructor(t){this.queryList=t,this.matches=null}clone(){return new Du(this.queryList)}setDirty(){this.queryList.setDirty()}}class _u{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const o=n.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new _u(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Fp(t,n).matches&&this.queries[n].setDirty()}}class Sp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Eu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Eu(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class wu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new wu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,KE(n,s)),this.matchTNodeWithReadOption(t,n,To(n,t,s,!1,!1))}else r===uo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,To(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ws||i===ga||i===uo&&4&n.type)this.addMatch(n.index,-2);else{const s=To(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function KE(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function QE(e,t,n,r){return-1===n?function qE(e,t){return 11&e.type?qi(e,t):4&e.type?pa(e,t):null}(t,e):-2===n?function YE(e,t,n){return n===Ws?qi(t,e):n===uo?pa(t,e):n===ga?bp(t,e):void 0}(e,t,r):xs(e,e[1],n,t)}function Mp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,o=n.matches,c=[];for(let h=0;h<o.length;h+=2){const g=o[h];c.push(g<0?null:QE(t,s[g],o[h+1],n.metadata.read))}i.matches=c}return i.matches}function Cu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=Mp(e,t,i,n);for(let c=0;c<s.length;c+=2){const h=s[c];if(h>0)r.push(o[c/2]);else{const g=s[c+1],D=t[-h];for(let w=10;w<D.length;w++){const P=D[w];P[17]===P[3]&&Cu(P[1],P,g,r)}if(null!==D[9]){const w=D[9];for(let P=0;P<w.length;P++){const H=w[P];Cu(H[1],H,g,r)}}}}}return r}function Ip(e){const t=ie(),n=it(),r=l();f(r+1);const i=Fp(n,r);if(e.dirty&&function Do(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Cu(n,t,r,[]):Mp(n,t,i,r);e.reset(s,Xm),e.notifyOnChanges()}return!0}return!1}function Tp(e,t,n){const r=it();r.firstCreatePass&&(function Np(e,t,n){null===e.queries&&(e.queries=new Eu),e.queries.track(new wu(t,n))}(r,new Sp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),function Pp(e,t,n){const r=new yu(4==(4&n));sf(e,t,r,r.destroy),null===t[19]&&(t[19]=new _u),t[19].queries.push(new Du(r))}(r,ie(),t)}function Ap(){return function JE(e,t){return e[19].queries[t].queryList}(ie(),l())}function Fp(e,t){return e.queries.getByIndex(t)}function Rp(e,t){return pa(e,t)}function ya(...e){}const Jp=new vt("Application Initializer");let va=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ya,this.reject=ya,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(tu(s))n.push(s);else if(ID(s)){const o=new Promise((c,h)=>{s.subscribe({complete:c,error:h})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Ht(Jp,8))},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xp=new vt("AppId",{providedIn:"root",factory:function eg(){return`${Tu()}${Tu()}${Tu()}`}});function Tu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tg=new vt("Platform Initializer"),Dw=new vt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_w=new vt("appBootstrapListener"),Ew=new vt("AnimationModuleType"),Da=new vt("LocaleId",{providedIn:"root",factory:()=>function Jg(e,t=we.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Ht(e,t)}(Da,we.Optional|we.SkipSelf)||function ww(){return typeof $localize<"u"&&$localize.locale||fs}()}),Cw=new vt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Iw=(()=>Promise.resolve(0))();function Au(e){typeof Zone>"u"?Iw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class $n{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Sr(!1),this.onMicrotaskEmpty=new Sr(!1),this.onStable=new Sr(!1),this.onError=new Sr(!1),typeof Zone>"u")throw new B(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Tw(){let e=Ne.requestAnimationFrame,t=Ne.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Nw(e){const t=()=>{!function Pw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Nu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Nu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,c)=>{try{return ig(e),n.invokeTask(i,s,o,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),sg(e)}},onInvoke:(n,r,i,s,o,c,h)=>{try{return ig(e),n.invoke(i,s,o,c,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),sg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Nu(e),Pu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$n.isInAngularZone())throw new B(909,!1)}static assertNotInAngularZone(){if($n.isInAngularZone())throw new B(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,Aw,ya,ya);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Aw={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Nu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sg(e){e._nesting--,Pu(e)}class Fw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Sr,this.onMicrotaskEmpty=new Sr,this.onStable=new Sr,this.onError=new Sr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const og=new vt(""),ag=new vt("");let Fu,Rw=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Fu||(function Ow(e){Fu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$n.assertNotInAngularZone(),Au(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Au(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ht($n),Ht(lg),Ht(ag))},e.\u0275prov=at({token:e,factory:e.\u0275fac}),e})(),lg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){var i,s;return null!==(i=null===(s=Fu)||void 0===s?void 0:s.findTestabilityInTree(this,n,r))&&void 0!==i?i:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Jr=null;const ug=new vt("AllowMultipleToken"),Ru=new vt("PlatformDestroyListeners");function dg(e,t,n=[]){const r=`Platform: ${t}`,i=new vt(r);return(s=[])=>{let o=Ou();if(!o||o.injector.get(ug,!1)){const c=[...n,...s,{provide:i,useValue:!0}];e?e(c):function kw(e){if(Jr&&!Jr.get(ug,!1))throw new B(400,!1);Jr=e;const t=e.get(hg);(function cg(e){const t=e.get(tg,null);t&&t.forEach(n=>n())})(e)}(function fg(e=[],t){return fi.create({name:t,providers:[{provide:Ya,useValue:"platform"},{provide:Ru,useValue:new Set([()=>Jr=null])},...e]})}(c,r))}return function Hw(e){const t=Ou();if(!t)throw new B(401,!1);return t}()}}function Ou(){var e,t;return null!==(e=null===(t=Jr)||void 0===t?void 0:t.get(hg))&&void 0!==e?e:null}let hg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function gg(e,t){let n;return n="noop"===e?new Fw:("zone.js"===e?void 0:e)||new $n(t),n}(r?.ngZone,function pg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:$n,useValue:i}];return i.run(()=>{const o=fi.create({providers:s,parent:this.injector,name:n.moduleType.name}),c=n.create(o),h=c.injector.get(Ks,null);if(!h)throw new B(402,!1);return i.runOutsideAngular(()=>{const g=i.onError.subscribe({next:D=>{h.handleError(D)}});c.onDestroy(()=>{Ea(this._modules,c),g.unsubscribe()})}),function mg(e,t,n){try{const r=n();return tu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(h,i,()=>{const g=c.injector.get(va);return g.runInitializers(),g.donePromise.then(()=>(function Rh(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(Fh=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Da,fs)||fs),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=yg({},r);return function xw(e,t,n){const r=new pu(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(_a);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new B(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ru,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Ht(fi))},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function yg(e,t){return Array.isArray(t)?t.reduce(yg,e):{...e,...t}}let _a=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new J.y(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),o=new J.y(c=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{$n.assertNotInAngularZone(),Au(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const g=this._zone.onUnstable.subscribe(()=>{$n.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{h.unsubscribe(),g.unsubscribe()}});this.isStable=function ge(...e){const t=(0,Ee.yG)(e),n=(0,Ee._6)(e,1/0),r=e;return r.length?1===r.length?(0,ne.Xf)(r[0]):(0,ue.J)(n)((0,Oe.D)(r,t)):pe.E}(s,o.pipe(function De(e={}){const{connector:t=(()=>new _.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let o,c,h,g=0,D=!1,w=!1;const P=()=>{c?.unsubscribe(),c=void 0},H=()=>{P(),o=h=void 0,D=w=!1},Z=()=>{const ae=o;H(),ae?.unsubscribe()};return(0,Y.e)((ae,ve)=>{g++,!w&&!D&&P();const Ce=h=h??t();ve.add(()=>{g--,0===g&&!w&&!D&&(c=Qe(Z,i))}),Ce.subscribe(ve),!o&&g>0&&(o=new ce.Hp({next:Be=>Ce.next(Be),error:Be=>{w=!0,P(),c=Qe(H,n,Be),Ce.error(Be)},complete:()=>{D=!0,P(),c=Qe(H,r),Ce.complete()}}),(0,ne.Xf)(ae).subscribe(o))})(s)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Kc;if(!this._injector.get(va).done)throw!i&&function xe(e){const t=b(e)||k(e)||Q(e);return null!==t&&t.standalone}(n),new B(405,false);let o;o=i?n:this._injector.get($o).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const c=function Lw(e){return e.isBoundToModule}(o)?void 0:this._injector.get(hs),g=o.create(fi.NULL,[],r||o.selector,c),D=g.location.nativeElement,w=g.injector.get(og,null);return w?.registerApplication(D),g.onDestroy(()=>{this.detachView(g.hostView),Ea(this.components,g),w?.unregisterApplication(D)}),this._loadComponent(g),g}tick(){if(this._runningTick)throw new B(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ea(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(_w,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ea(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new B(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Ht($n),Ht(Wi),Ht(Ks))},e.\u0275prov=at({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ea(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Dg=!0;function Vw(){Dg=!1}let $w=(()=>{class e{}return e.__NG_ELEMENT_ID__=Uw,e})();function Uw(e){return function zw(e,t,n){if(Kt(e)&&!n){const r=Ot(e.index,t);return new Zs(r,r)}return 47&e.type?new Zs(t[16],t):null}(Mt(),ie(),16==(16&e))}class bg{constructor(){}supports(t){return Xs(t)}create(t){return new Yw(t)}}const Qw=(e,t)=>t;class Yw{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Qw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<Mg(r,i,s)?n:r,c=Mg(o,i,s),h=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const g=c-i,D=h-i;if(g!=D){for(let P=0;P<g;P++){const H=P<s.length?s[P]:s[P]=0,Z=H+P;D<=Z&&Z<g&&(s[P]=H+1)}s[o.previousIndex]=D-g}}c!==h&&t(o,c,h)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Xs(t))throw new B(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)s=t[c],o=this._trackByFn(c,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,c)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,c),r=!0),n=n._next}else i=0,function _D(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[hi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,c=>{o=this._trackByFn(i,c),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,c,o,i)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new Zw(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Zw{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Jw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Sg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Jw,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Ig{constructor(){}supports(t){return t instanceof Map||Ql(t)}create(){return new Xw}}class Xw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Ql(t)))throw new B(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new eC(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class eC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Tg(){return new Hu([new bg])}let Hu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Tg()),deps:[[e,new Ro,new Fo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new B(901,!1)}}return e.\u0275prov=at({token:e,providedIn:"root",factory:Tg}),e})();function Ag(){return new ju([new Ig])}let ju=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ag()),deps:[[e,new Ro,new Fo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new B(901,!1)}}return e.\u0275prov=at({token:e,providedIn:"root",factory:Ag}),e})();const rC=dg(null,"core",[]);let iC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Ht(_a))},e.\u0275mod=_n({type:e}),e.\u0275inj=Yt({}),e})()},9906:(Ze,de,N)=>{N.d(de,{PW:()=>Hn});var _=N(3210),I=N(4497),J=N(4851);function ne(v){return new _.vHH(3e3,!1)}function ln(){return typeof window<"u"&&typeof window.document<"u"}function _t(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function mt(v){switch(v.length){case 0:return new J.ZN;case 1:return v[0];default:return new J.ZE(v)}}function ot(v,a,u,p,y=new Map,E=new Map){const l=[],f=[];let d=-1,m=null;if(p.forEach(C=>{const L=C.get("offset"),G=L==d,te=G&&m||new Map;C.forEach((me,ye)=>{let Fe=ye,be=me;if("offset"!==ye)switch(Fe=a.normalizePropertyName(Fe,l),be){case J.k1:be=y.get(ye);break;case J.l3:be=E.get(ye);break;default:be=a.normalizeStyleValue(ye,Fe,be,l)}te.set(Fe,be)}),G||f.push(te),m=te,d=L}),l.length)throw function F(v){return new _.vHH(3502,!1)}();return f}function Mr(v,a,u,p){switch(a){case"start":v.onStart(()=>p(u&&Xr(u,"start",v)));break;case"done":v.onDone(()=>p(u&&Xr(u,"done",v)));break;case"destroy":v.onDestroy(()=>p(u&&Xr(u,"destroy",v)))}}function Xr(v,a,u){const E=tr(v.element,v.triggerName,v.fromState,v.toState,a||v.phaseName,u.totalTime??v.totalTime,!!u.disabled),l=v._data;return null!=l&&(E._data=l),E}function tr(v,a,u,p,y="",E=0,l){return{element:v,triggerName:a,fromState:u,toState:p,phaseName:y,totalTime:E,disabled:!!l}}function at(v,a,u){let p=v.get(a);return p||v.set(a,p=u),p}function Un(v){const a=v.indexOf(":");return[v.substring(1,a),v.slice(a+1)]}let Yt=(v,a)=>!1,un=(v,a,u)=>[],nr=null;function Et(v){const a=v.parentNode||v.host;return a===nr?null:a}(_t()||typeof Element<"u")&&(ln()?(nr=(()=>document.documentElement)(),Yt=(v,a)=>{for(;a;){if(a===v)return!0;a=Et(a)}return!1}):Yt=(v,a)=>v.contains(a),un=(v,a,u)=>{if(u)return Array.from(v.querySelectorAll(a));const p=v.querySelector(a);return p?[p]:[]});let vn=null,Nn=!1;const we=Yt,j=un;let R=(()=>{class v{validateStyleProperty(u){return function rr(v){vn||(vn=function $r(){return typeof document<"u"?document.body:null}()||{},Nn=!!vn.style&&"WebkitAppearance"in vn.style);let a=!0;return vn.style&&!function Ir(v){return"ebkit"==v.substring(1,6)}(v)&&(a=v in vn.style,!a&&Nn&&(a="Webkit"+v.charAt(0).toUpperCase()+v.slice(1)in vn.style)),a}(u)}matchesElement(u,p){return!1}containsElement(u,p){return we(u,p)}getParentElement(u){return Et(u)}query(u,p,y){return j(u,p,y)}computeStyle(u,p,y){return y||""}animate(u,p,y,E,l,f=[],d){return new J.ZN(y,E)}}return v.\u0275fac=function(u){return new(u||v)},v.\u0275prov=_.Yz7({token:v,factory:v.\u0275fac}),v})(),oe=(()=>{class v{}return v.NOOP=new R,v})();const ht="ng-enter",Te="ng-leave",ut="ng-trigger",Ne=".ng-trigger",Rn="ng-animating",Rt=".ng-animating";function Ye(v){if("number"==typeof v)return v;const a=v.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Ae(parseFloat(a[1]),a[2])}function Ae(v,a){return"s"===a?1e3*v:v}function jt(v,a,u){return v.hasOwnProperty("duration")?v:function On(v,a,u){let y,E=0,l="";if("string"==typeof v){const f=v.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===f)return a.push(ne()),{duration:0,delay:0,easing:""};y=Ae(parseFloat(f[1]),f[2]);const d=f[3];null!=d&&(E=Ae(parseFloat(d),f[4]));const m=f[5];m&&(l=m)}else y=v;if(!u){let f=!1,d=a.length;y<0&&(a.push(function pe(){return new _.vHH(3100,!1)}()),f=!0),E<0&&(a.push(function Ee(){return new _.vHH(3101,!1)}()),f=!0),f&&a.splice(d,0,ne())}return{duration:y,delay:E,easing:l}}(v,a,u)}function pt(v,a={}){return Object.keys(v).forEach(u=>{a[u]=v[u]}),a}function tn(v){const a=new Map;return Object.keys(v).forEach(u=>{a.set(u,v[u])}),a}function Dn(v,a=new Map,u){if(u)for(let[p,y]of u)a.set(p,y);for(let[p,y]of v)a.set(p,y);return a}function Tr(v,a,u){return u?a+":"+u+";":""}function ei(v){let a="";for(let u=0;u<v.style.length;u++){const p=v.style.item(u);a+=Tr(0,p,v.style.getPropertyValue(p))}for(const u in v.style)v.style.hasOwnProperty(u)&&!u.startsWith("_")&&(a+=Tr(0,xe(u),v.style[u]));v.setAttribute("style",a)}function nn(v,a,u){v.style&&(a.forEach((p,y)=>{const E=Q(y);u&&!u.has(y)&&u.set(y,v.style[E]),v.style[E]=p}),_t()&&ei(v))}function cn(v,a){v.style&&(a.forEach((u,p)=>{const y=Q(p);v.style[y]=""}),_t()&&ei(v))}function _n(v){return Array.isArray(v)?1==v.length?v[0]:(0,J.vP)(v):v}const ir=new RegExp("{{\\s*(.+?)\\s*}}","g");function V(v){let a=[];if("string"==typeof v){let u;for(;u=ir.exec(v);)a.push(u[1]);ir.lastIndex=0}return a}function O(v,a,u){const p=v.toString(),y=p.replace(ir,(E,l)=>{let f=a[l];return null==f&&(u.push(function ge(v){return new _.vHH(3003,!1)}()),f=""),f.toString()});return y==p?v:y}function b(v){const a=[];let u=v.next();for(;!u.done;)a.push(u.value),u=v.next();return a}const k=/-+([a-z0-9])/g;function Q(v){return v.replace(k,(...a)=>a[1].toUpperCase())}function xe(v){return v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function le(v,a,u){switch(a.type){case 7:return v.visitTrigger(a,u);case 0:return v.visitState(a,u);case 1:return v.visitTransition(a,u);case 2:return v.visitSequence(a,u);case 3:return v.visitGroup(a,u);case 4:return v.visitAnimate(a,u);case 5:return v.visitKeyframes(a,u);case 6:return v.visitStyle(a,u);case 8:return v.visitReference(a,u);case 9:return v.visitAnimateChild(a,u);case 10:return v.visitAnimateRef(a,u);case 11:return v.visitQuery(a,u);case 12:return v.visitStagger(a,u);default:throw function ce(v){return new _.vHH(3004,!1)}()}}function Ke(v,a){return window.getComputedStyle(v)[a]}function et(v,a){const u=[];return"string"==typeof v?v.split(/\s*,\s*/).forEach(p=>function ti(v,a,u){if(":"==v[0]){const d=function or(v,a){switch(v){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,p)=>parseFloat(p)>parseFloat(u);case":decrement":return(u,p)=>parseFloat(p)<parseFloat(u);default:return a.push(function S(v){return new _.vHH(3016,!1)}()),"* => *"}}(v,u);if("function"==typeof d)return void a.push(d);v=d}const p=v.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return u.push(function U(v){return new _.vHH(3015,!1)}()),a;const y=p[1],E=p[2],l=p[3];a.push(Pt(y,l));"<"==E[0]&&!("*"==y&&"*"==l)&&a.push(Pt(l,y))}(p,u,a)):u.push(v),u}const Wn=new Set(["true","1"]),En=new Set(["false","0"]);function Pt(v,a){const u=Wn.has(v)||En.has(v),p=Wn.has(a)||En.has(a);return(y,E)=>{let l="*"==v||v==y,f="*"==a||a==E;return!l&&u&&"boolean"==typeof y&&(l=y?Wn.has(v):En.has(v)),!f&&p&&"boolean"==typeof E&&(f=E?Wn.has(a):En.has(a)),l&&f}}const ar=new RegExp("s*:selfs*,?","g");function Gt(v,a,u,p){return new vi(v).build(a,u,p)}class vi{constructor(a){this._driver=a}build(a,u,p){const y=new Di(u);return this._resetContextStyleTimingState(y),le(this,_n(a),y)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,u){let p=u.queryCount=0,y=u.depCount=0;const E=[],l=[];return"@"==a.name.charAt(0)&&u.errors.push(function De(){return new _.vHH(3006,!1)}()),a.definitions.forEach(f=>{if(this._resetContextStyleTimingState(u),0==f.type){const d=f,m=d.name;m.toString().split(/\s*,\s*/).forEach(C=>{d.name=C,E.push(this.visitState(d,u))}),d.name=m}else if(1==f.type){const d=this.visitTransition(f,u);p+=d.queryCount,y+=d.depCount,l.push(d)}else u.errors.push(function Qe(){return new _.vHH(3007,!1)}())}),{type:7,name:a.name,states:E,transitions:l,queryCount:p,depCount:y,options:null}}visitState(a,u){const p=this.visitStyle(a.styles,u),y=a.options&&a.options.params||null;if(p.containsDynamicStyles){const E=new Set,l=y||{};p.styles.forEach(f=>{f instanceof Map&&f.forEach(d=>{V(d).forEach(m=>{l.hasOwnProperty(m)||E.add(m)})})}),E.size&&(b(E.values()),u.errors.push(function ee(v,a){return new _.vHH(3008,!1)}()))}return{type:0,name:a.name,style:p,options:y?{params:y}:null}}visitTransition(a,u){u.queryCount=0,u.depCount=0;const p=le(this,_n(a.animation),u);return{type:1,matchers:et(a.expr,u.errors),animation:p,queryCount:u.queryCount,depCount:u.depCount,options:dn(a.options)}}visitSequence(a,u){return{type:2,steps:a.steps.map(p=>le(this,p,u)),options:dn(a.options)}}visitGroup(a,u){const p=u.currentTime;let y=0;const E=a.steps.map(l=>{u.currentTime=p;const f=le(this,l,u);return y=Math.max(y,u.currentTime),f});return u.currentTime=y,{type:3,steps:E,options:dn(a.options)}}visitAnimate(a,u){const p=function Ar(v,a){if(v.hasOwnProperty("duration"))return v;if("number"==typeof v)return ur(jt(v,a).duration,0,"");const u=v;if(u.split(/\s+/).some(E=>"{"==E.charAt(0)&&"{"==E.charAt(1))){const E=ur(0,0,"");return E.dynamic=!0,E.strValue=u,E}const y=jt(u,a);return ur(y.duration,y.delay,y.easing)}(a.timings,u.errors);u.currentAnimateTimings=p;let y,E=a.styles?a.styles:(0,J.oB)({});if(5==E.type)y=this.visitKeyframes(E,u);else{let l=a.styles,f=!1;if(!l){f=!0;const m={};p.easing&&(m.easing=p.easing),l=(0,J.oB)(m)}u.currentTime+=p.duration+p.delay;const d=this.visitStyle(l,u);d.isEmptyStep=f,y=d}return u.currentAnimateTimings=null,{type:4,timings:p,style:y,options:null}}visitStyle(a,u){const p=this._makeStyleAst(a,u);return this._validateStyleAst(p,u),p}_makeStyleAst(a,u){const p=[],y=Array.isArray(a.styles)?a.styles:[a.styles];for(let f of y)"string"==typeof f?f===J.l3?p.push(f):u.errors.push(new _.vHH(3002,!1)):p.push(tn(f));let E=!1,l=null;return p.forEach(f=>{if(f instanceof Map&&(f.has("easing")&&(l=f.get("easing"),f.delete("easing")),!E))for(let d of f.values())if(d.toString().indexOf("{{")>=0){E=!0;break}}),{type:6,styles:p,easing:l,offset:a.offset,containsDynamicStyles:E,options:null}}_validateStyleAst(a,u){const p=u.currentAnimateTimings;let y=u.currentTime,E=u.currentTime;p&&E>0&&(E-=p.duration+p.delay),a.styles.forEach(l=>{"string"!=typeof l&&l.forEach((f,d)=>{const m=u.collectedStyles.get(u.currentQuerySelector),C=m.get(d);let L=!0;C&&(E!=y&&E>=C.startTime&&y<=C.endTime&&(u.errors.push(function Pe(v,a,u,p,y){return new _.vHH(3010,!1)}()),L=!1),E=C.startTime),L&&m.set(d,{startTime:E,endTime:y}),u.options&&function Ur(v,a,u){const p=a.params||{},y=V(v);y.length&&y.forEach(E=>{p.hasOwnProperty(E)||u.push(function Oe(v){return new _.vHH(3001,!1)}())})}(f,u.options,u.errors)})})}visitKeyframes(a,u){const p={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function Xe(){return new _.vHH(3011,!1)}()),p;let E=0;const l=[];let f=!1,d=!1,m=0;const C=a.steps.map(be=>{const $e=this._makeStyleAst(be,u);let We=null!=$e.offset?$e.offset:function lr(v){if("string"==typeof v)return null;let a=null;if(Array.isArray(v))v.forEach(u=>{if(u instanceof Map&&u.has("offset")){const p=u;a=parseFloat(p.get("offset")),p.delete("offset")}});else if(v instanceof Map&&v.has("offset")){const u=v;a=parseFloat(u.get("offset")),u.delete("offset")}return a}($e.styles),Re=0;return null!=We&&(E++,Re=$e.offset=We),d=d||Re<0||Re>1,f=f||Re<m,m=Re,l.push(Re),$e});d&&u.errors.push(function Je(){return new _.vHH(3012,!1)}()),f&&u.errors.push(function fe(){return new _.vHH(3200,!1)}());const L=a.steps.length;let G=0;E>0&&E<L?u.errors.push(function re(){return new _.vHH(3202,!1)}()):0==E&&(G=1/(L-1));const te=L-1,me=u.currentTime,ye=u.currentAnimateTimings,Fe=ye.duration;return C.forEach((be,$e)=>{const We=G>0?$e==te?1:G*$e:l[$e],Re=We*Fe;u.currentTime=me+ye.delay+Re,ye.duration=Re,this._validateStyleAst(be,u),be.offset=We,p.styles.push(be)}),p}visitReference(a,u){return{type:8,animation:le(this,_n(a.animation),u),options:dn(a.options)}}visitAnimateChild(a,u){return u.depCount++,{type:9,options:dn(a.options)}}visitAnimateRef(a,u){return{type:10,animation:this.visitReference(a.animation,u),options:dn(a.options)}}visitQuery(a,u){const p=u.currentQuerySelector,y=a.options||{};u.queryCount++,u.currentQuery=a;const[E,l]=function ft(v){const a=!!v.split(/\s*,\s*/).find(u=>":self"==u);return a&&(v=v.replace(ar,"")),v=v.replace(/@\*/g,Ne).replace(/@\w+/g,u=>Ne+"-"+u.slice(1)).replace(/:animating/g,Rt),[v,a]}(a.selector);u.currentQuerySelector=p.length?p+" "+E:E,at(u.collectedStyles,u.currentQuerySelector,new Map);const f=le(this,_n(a.animation),u);return u.currentQuery=null,u.currentQuerySelector=p,{type:11,selector:E,limit:y.limit||0,optional:!!y.optional,includeSelf:l,animation:f,originalSelector:a.selector,options:dn(a.options)}}visitStagger(a,u){u.currentQuery||u.errors.push(function $(){return new _.vHH(3013,!1)}());const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:jt(a.timings,u.errors,!0);return{type:12,animation:le(this,_n(a.animation),u),timings:p,options:null}}}class Di{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function dn(v){return v?(v=pt(v)).params&&(v.params=function ms(v){return v?pt(v):null}(v.params)):v={},v}function ur(v,a,u){return{duration:v,delay:a,easing:u}}function Ln(v,a,u,p,y,E,l=null,f=!1){return{type:1,element:v,keyframes:a,preStyleProps:u,postStyleProps:p,duration:y,delay:E,totalTime:y+E,easing:l,subTimeline:f}}class wt{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,u){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...u)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const rn=new RegExp(":enter","g"),Kt=new RegExp(":leave","g");function cr(v,a,u,p,y,E=new Map,l=new Map,f,d,m=[]){return(new fn).buildKeyframes(v,a,u,p,y,E,l,f,d,m)}class fn{buildKeyframes(a,u,p,y,E,l,f,d,m,C=[]){m=m||new wt;const L=new Ei(a,u,m,y,E,C,[]);L.options=d;const G=d.delay?Ye(d.delay):0;L.currentTimeline.delayNextStep(G),L.currentTimeline.setStyles([l],null,L.errors,d),le(this,p,L);const te=L.timelines.filter(me=>me.containsAnimation());if(te.length&&f.size){let me;for(let ye=te.length-1;ye>=0;ye--){const Fe=te[ye];if(Fe.element===u){me=Fe;break}}me&&!me.allowOnlyTimelineStyles()&&me.setStyles([f],null,L.errors,d)}return te.length?te.map(me=>me.buildKeyframes()):[Ln(u,[],[],[],0,G,"",!1)]}visitTrigger(a,u){}visitState(a,u){}visitTransition(a,u){}visitAnimateChild(a,u){const p=u.subInstructions.get(u.element);if(p){const y=u.createSubContext(a.options),E=u.currentTimeline.currentTime,l=this._visitSubInstructions(p,y,y.options);E!=l&&u.transformIntoNewTimeline(l)}u.previousNode=a}visitAnimateRef(a,u){const p=u.createSubContext(a.options);p.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],u,p),this.visitReference(a.animation,p),u.transformIntoNewTimeline(p.currentTimeline.currentTime),u.previousNode=a}_applyAnimationRefDelays(a,u,p){for(const E of a){const l=E?.delay;if(l){var y;const f="number"==typeof l?l:Ye(O(l,null!==(y=E?.params)&&void 0!==y?y:{},u.errors));p.delayNextStep(f)}}}_visitSubInstructions(a,u,p){let E=u.currentTimeline.currentTime;const l=null!=p.duration?Ye(p.duration):null,f=null!=p.delay?Ye(p.delay):null;return 0!==l&&a.forEach(d=>{const m=u.appendInstructionToTimeline(d,l,f);E=Math.max(E,m.duration+m.delay)}),E}visitReference(a,u){u.updateOptions(a.options,!0),le(this,a.animation,u),u.previousNode=a}visitSequence(a,u){const p=u.subContextCount;let y=u;const E=a.options;if(E&&(E.params||E.delay)&&(y=u.createSubContext(E),y.transformIntoNewTimeline(),null!=E.delay)){6==y.previousNode.type&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=zr);const l=Ye(E.delay);y.delayNextStep(l)}a.steps.length&&(a.steps.forEach(l=>le(this,l,y)),y.currentTimeline.applyStylesToKeyframe(),y.subContextCount>p&&y.transformIntoNewTimeline()),u.previousNode=a}visitGroup(a,u){const p=[];let y=u.currentTimeline.currentTime;const E=a.options&&a.options.delay?Ye(a.options.delay):0;a.steps.forEach(l=>{const f=u.createSubContext(a.options);E&&f.delayNextStep(E),le(this,l,f),y=Math.max(y,f.currentTimeline.currentTime),p.push(f.currentTimeline)}),p.forEach(l=>u.currentTimeline.mergeTimelineCollectedStyles(l)),u.transformIntoNewTimeline(y),u.previousNode=a}_visitTiming(a,u){if(a.dynamic){const p=a.strValue;return jt(u.params?O(p,u.params,u.errors):p,u.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,u){const p=u.currentAnimateTimings=this._visitTiming(a.timings,u),y=u.currentTimeline;p.delay&&(u.incrementTime(p.delay),y.snapshotCurrentStyles());const E=a.style;5==E.type?this.visitKeyframes(E,u):(u.incrementTime(p.duration),this.visitStyle(E,u),y.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=a}visitStyle(a,u){const p=u.currentTimeline,y=u.currentAnimateTimings;!y&&p.hasCurrentStyleProperties()&&p.forwardFrame();const E=y&&y.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(E):p.setStyles(a.styles,E,u.errors,u.options),u.previousNode=a}visitKeyframes(a,u){const p=u.currentAnimateTimings,y=u.currentTimeline.duration,E=p.duration,f=u.createSubContext().currentTimeline;f.easing=p.easing,a.styles.forEach(d=>{f.forwardTime((d.offset||0)*E),f.setStyles(d.styles,d.easing,u.errors,u.options),f.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(f),u.transformIntoNewTimeline(y+E),u.previousNode=a}visitQuery(a,u){const p=u.currentTimeline.currentTime,y=a.options||{},E=y.delay?Ye(y.delay):0;E&&(6===u.previousNode.type||0==p&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=zr);let l=p;const f=u.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!y.optional,u.errors);u.currentQueryTotal=f.length;let d=null;f.forEach((m,C)=>{u.currentQueryIndex=C;const L=u.createSubContext(a.options,m);E&&L.delayNextStep(E),m===u.element&&(d=L.currentTimeline),le(this,a.animation,L),L.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,L.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(l),d&&(u.currentTimeline.mergeTimelineCollectedStyles(d),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=a}visitStagger(a,u){const p=u.parentContext,y=u.currentTimeline,E=a.timings,l=Math.abs(E.duration),f=l*(u.currentQueryTotal-1);let d=l*u.currentQueryIndex;switch(E.duration<0?"reverse":E.easing){case"reverse":d=f-d;break;case"full":d=p.currentStaggerTime}const C=u.currentTimeline;d&&C.delayNextStep(d);const L=C.currentTime;le(this,a.animation,u),u.previousNode=a,p.currentStaggerTime=y.currentTime-L+(y.startTime-p.currentTimeline.startTime)}}const zr={};class Ei{constructor(a,u,p,y,E,l,f,d){this._driver=a,this.element=u,this.subInstructions=p,this._enterClassName=y,this._leaveClassName=E,this.errors=l,this.timelines=f,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=zr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new Pr(this._driver,u,0),f.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,u){if(!a)return;const p=a;let y=this.options;null!=p.duration&&(y.duration=Ye(p.duration)),null!=p.delay&&(y.delay=Ye(p.delay));const E=p.params;if(E){let l=y.params;l||(l=this.options.params={}),Object.keys(E).forEach(f=>{(!u||!l.hasOwnProperty(f))&&(l[f]=O(E[f],l,this.errors))})}}_copyOptions(){const a={};if(this.options){const u=this.options.params;if(u){const p=a.params={};Object.keys(u).forEach(y=>{p[y]=u[y]})}}return a}createSubContext(a=null,u,p){const y=u||this.element,E=new Ei(this._driver,y,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(y,p||0));return E.previousNode=this.previousNode,E.currentAnimateTimings=this.currentAnimateTimings,E.options=this._copyOptions(),E.updateOptions(a),E.currentQueryIndex=this.currentQueryIndex,E.currentQueryTotal=this.currentQueryTotal,E.parentContext=this,this.subContextCount++,E}transformIntoNewTimeline(a){return this.previousNode=zr,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,u,p){const y={duration:u??a.duration,delay:this.currentTimeline.currentTime+(p??0)+a.delay,easing:""},E=new vs(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,y,a.stretchStartingKeyframe);return this.timelines.push(E),y}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,u,p,y,E,l){let f=[];if(y&&f.push(this.element),a.length>0){a=(a=a.replace(rn,"."+this._enterClassName)).replace(Kt,"."+this._leaveClassName);let m=this._driver.query(this.element,a,1!=p);0!==p&&(m=p<0?m.slice(m.length+p,m.length):m.slice(0,p)),f.push(...m)}return!E&&0==f.length&&l.push(function B(v){return new _.vHH(3014,!1)}()),f}}class Pr{constructor(a,u,p,y){this._driver=a,this.element=u,this.startTime=p,this._elementTimelineStylesLookup=y,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+a),u&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,u){return this.applyStylesToKeyframe(),new Pr(this._driver,a,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,u){this._localTimelineStyles.set(a,u),this._globalTimelineStyles.set(a,u),this._styleSummary.set(a,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[u,p]of this._globalTimelineStyles)this._backFill.set(u,p||J.l3),this._currentKeyframe.set(u,J.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,u,p,y){u&&this._previousKeyframe.set("easing",u);const E=y&&y.params||{},l=function fo(v,a){const u=new Map;let p;return v.forEach(y=>{if("*"===y){p=p||a.keys();for(let E of p)u.set(E,J.l3)}else Dn(y,u)}),u}(a,this._globalTimelineStyles);for(let[d,m]of l){const C=O(m,E,p);var f;this._pendingStyles.set(d,C),this._localTimelineStyles.has(d)||this._backFill.set(d,null!==(f=this._globalTimelineStyles.get(d))&&void 0!==f?f:J.l3),this._updateStyle(d,C)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,u)=>{this._currentKeyframe.set(u,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,a)}))}snapshotCurrentStyles(){for(let[a,u]of this._localTimelineStyles)this._pendingStyles.set(a,u),this._updateStyle(a,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let u in this._currentKeyframe)a.push(u);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((u,p)=>{const y=this._styleSummary.get(p);(!y||u.time>y.time)&&this._updateStyle(p,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,u=new Set,p=1===this._keyframes.size&&0===this.duration;let y=[];this._keyframes.forEach((f,d)=>{const m=Dn(f,new Map,this._backFill);m.forEach((C,L)=>{C===J.k1?a.add(L):C===J.l3&&u.add(L)}),p||m.set("offset",d/this.duration),y.push(m)});const E=a.size?b(a.values()):[],l=u.size?b(u.values()):[];if(p){const f=y[0],d=new Map(f);f.set("offset",0),d.set("offset",1),y=[f,d]}return Ln(this.element,y,E,l,this.duration,this.startTime,this.easing,!1)}}class vs extends Pr{constructor(a,u,p,y,E,l,f=!1){super(a,u,l.delay),this.keyframes=p,this.preStyleProps=y,this.postStyleProps=E,this._stretchStartingKeyframe=f,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:u,duration:p,easing:y}=this.timings;if(this._stretchStartingKeyframe&&u){const E=[],l=p+u,f=u/l,d=Dn(a[0]);d.set("offset",0),E.push(d);const m=Dn(a[0]);m.set("offset",Ds(f)),E.push(m);const C=a.length-1;for(let L=1;L<=C;L++){let G=Dn(a[L]);const te=G.get("offset");G.set("offset",Ds((u+te*p)/l)),E.push(G)}p=l,u=0,y="",a=E}return Ln(this.element,a,this.preStyleProps,this.postStyleProps,p,u,y,!0)}}function Ds(v,a=3){const u=Math.pow(10,a-1);return Math.round(v*u)/u}class wi{}const ho=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class po extends wi{normalizePropertyName(a,u){return Q(a)}normalizeStyleValue(a,u,p,y){let E="";const l=p.toString().trim();if(ho.has(u)&&0!==p&&"0"!==p)if("number"==typeof p)E="px";else{const f=p.match(/^[+-]?[\d\.]+([a-z]*)$/);f&&0==f[1].length&&y.push(function Y(v,a){return new _.vHH(3005,!1)}())}return l+E}}function _s(v,a,u,p,y,E,l,f,d,m,C,L,G){return{type:0,element:v,triggerName:a,isRemovalTransition:y,fromState:u,fromStyles:E,toState:p,toStyles:l,timelines:f,queriedElements:d,preStyleProps:m,postStyleProps:C,totalTime:L,errors:G}}const Ci={};class Es{constructor(a,u,p){this._triggerName=a,this.ast=u,this._stateStyles=p}match(a,u,p,y){return function ws(v,a,u,p,y){return v.some(E=>E(a,u,p,y))}(this.ast.matchers,a,u,p,y)}buildStyles(a,u,p){let y=this._stateStyles.get("*");return void 0!==a&&(y=this._stateStyles.get(a?.toString())||y),y?y.buildStyles(u,p):new Map}build(a,u,p,y,E,l,f,d,m,C){var L;const G=[],te=this.ast.options&&this.ast.options.params||Ci,ye=this.buildStyles(p,f&&f.params||Ci,G),Fe=d&&d.params||Ci,be=this.buildStyles(y,Fe,G),$e=new Set,We=new Map,Re=new Map,qt="void"===y,xt={params:go(Fe,te),delay:null===(L=this.ast.options)||void 0===L?void 0:L.delay},Ct=C?[]:cr(a,u,this.ast.animation,E,l,ye,be,xt,m,G);let It=0;if(Ct.forEach(Xt=>{It=Math.max(Xt.duration+Xt.delay,It)}),G.length)return _s(u,this._triggerName,p,y,qt,ye,be,[],[],We,Re,It,G);Ct.forEach(Xt=>{const In=Xt.element,pr=at(We,In,new Set);Xt.preStyleProps.forEach(mr=>pr.add(mr));const gr=at(Re,In,new Set);Xt.postStyleProps.forEach(mr=>gr.add(mr)),In!==u&&$e.add(In)});const Qn=b($e.values());return _s(u,this._triggerName,p,y,qt,ye,be,Ct,Qn,We,Re,It)}}function go(v,a){const u=pt(a);for(const p in v)v.hasOwnProperty(p)&&null!=v[p]&&(u[p]=v[p]);return u}class mo{constructor(a,u,p){this.styles=a,this.defaultParams=u,this.normalizer=p}buildStyles(a,u){const p=new Map,y=pt(this.defaultParams);return Object.keys(a).forEach(E=>{const l=a[E];null!==l&&(y[E]=l)}),this.styles.styles.forEach(E=>{"string"!=typeof E&&E.forEach((l,f)=>{l&&(l=O(l,y,u));const d=this.normalizer.normalizePropertyName(f,u);l=this.normalizer.normalizeStyleValue(f,d,l,u),p.set(d,l)})}),p}}class Nr{constructor(a,u,p){this.name=a,this.ast=u,this._normalizer=p,this.transitionFactories=[],this.states=new Map,u.states.forEach(y=>{this.states.set(y.name,new mo(y.style,y.options&&y.options.params||{},p))}),Cs(this.states,"true","1"),Cs(this.states,"false","0"),u.transitions.forEach(y=>{this.transitionFactories.push(new Es(a,y,this.states))}),this.fallbackTransition=function Si(v,a,u){return new Es(v,{type:1,animation:{type:2,steps:[],options:null},matchers:[(l,f)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,u,p,y){return this.transitionFactories.find(l=>l.match(a,u,p,y))||null}matchStyles(a,u,p){return this.fallbackTransition.buildStyles(a,u,p)}}function Cs(v,a,u){v.has(a)?v.has(u)||v.set(u,v.get(a)):v.has(u)&&v.set(a,v.get(u))}const Ia=new wt;class qn{constructor(a,u,p){this.bodyNode=a,this._driver=u,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,u){const p=[],E=Gt(this._driver,u,p,[]);if(p.length)throw function z(v){return new _.vHH(3503,!1)}();this._animations.set(a,E)}_buildPlayer(a,u,p){const y=a.element,E=ot(0,this._normalizer,0,a.keyframes,u,p);return this._driver.animate(y,E,a.duration,a.delay,a.easing,[],!0)}create(a,u,p={}){const y=[],E=this._animations.get(a);let l;const f=new Map;if(E?(l=cr(this._driver,u,E,ht,Te,new Map,new Map,p,Ia,y),l.forEach(C=>{const L=at(f,C.element,new Map);C.postStyleProps.forEach(G=>L.set(G,null))})):(y.push(function x(){return new _.vHH(3300,!1)}()),l=[]),y.length)throw function q(v){return new _.vHH(3504,!1)}();f.forEach((C,L)=>{C.forEach((G,te)=>{C.set(te,this._driver.computeStyle(L,te,J.l3))})});const m=mt(l.map(C=>{const L=f.get(C.element);return this._buildPlayer(C,new Map,L)}));return this._playersById.set(a,m),m.onDestroy(()=>this.destroy(a)),this.players.push(m),m}destroy(a){const u=this._getPlayer(a);u.destroy(),this._playersById.delete(a);const p=this.players.indexOf(u);p>=0&&this.players.splice(p,1)}_getPlayer(a){const u=this._playersById.get(a);if(!u)throw function K(v){return new _.vHH(3301,!1)}();return u}listen(a,u,p,y){const E=tr(u,"","","");return Mr(this._getPlayer(a),p,E,y),()=>{}}command(a,u,p,y){if("register"==p)return void this.register(a,y[0]);if("create"==p)return void this.create(a,u,y[0]||{});const E=this._getPlayer(a);switch(p){case"play":E.play();break;case"pause":E.pause();break;case"reset":E.reset();break;case"restart":E.restart();break;case"finish":E.finish();break;case"init":E.init();break;case"setPosition":E.setPosition(parseFloat(y[0]));break;case"destroy":this.destroy(a)}}}const ni="ng-animate-queued",Gr="ng-animate-disabled",Ms=[],Is={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hn="__ng_removed";class Zt{constructor(a,u=""){this.namespaceId=u;const p=a&&a.hasOwnProperty("value");if(this.value=function vo(v){return v??null}(p?a.value:a),p){const E=pt(a);delete E.value,this.options=E}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const u=a.params;if(u){const p=this.options.params;Object.keys(u).forEach(y=>{null==p[y]&&(p[y]=u[y])})}}}const kn="void",ii=new Zt(kn);class Ii{constructor(a,u,p){this.id=a,this.hostElement=u,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Bt(u,this._hostClassName)}listen(a,u,p,y){if(!this._triggers.has(u))throw function he(v,a){return new _.vHH(3302,!1)}();if(null==p||0==p.length)throw function ke(v){return new _.vHH(3303,!1)}();if(!function si(v){return"start"==v||"done"==v}(p))throw function dt(v,a){return new _.vHH(3400,!1)}();const E=at(this._elementListeners,a,[]),l={name:u,phase:p,callback:y};E.push(l);const f=at(this._engine.statesByElement,a,new Map);return f.has(u)||(Bt(a,ut),Bt(a,ut+"-"+u),f.set(u,ii)),()=>{this._engine.afterFlush(()=>{const d=E.indexOf(l);d>=0&&E.splice(d,1),this._triggers.has(u)||f.delete(u)})}}register(a,u){return!this._triggers.has(a)&&(this._triggers.set(a,u),!0)}_getTrigger(a){const u=this._triggers.get(a);if(!u)throw function Ue(v){return new _.vHH(3401,!1)}();return u}trigger(a,u,p,y=!0){const E=this._getTrigger(u),l=new As(this.id,u,a);let f=this._engine.statesByElement.get(a);f||(Bt(a,ut),Bt(a,ut+"-"+u),this._engine.statesByElement.set(a,f=new Map));let d=f.get(u);const m=new Zt(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&d&&m.absorbOptions(d.options),f.set(u,m),d||(d=ii),m.value!==kn&&d.value===m.value){if(!function Bn(v,a){const u=Object.keys(v),p=Object.keys(a);if(u.length!=p.length)return!1;for(let y=0;y<u.length;y++){const E=u[y];if(!a.hasOwnProperty(E)||v[E]!==a[E])return!1}return!0}(d.params,m.params)){const ye=[],Fe=E.matchStyles(d.value,d.params,ye),be=E.matchStyles(m.value,m.params,ye);ye.length?this._engine.reportError(ye):this._engine.afterFlush(()=>{cn(a,Fe),nn(a,be)})}return}const G=at(this._engine.playersByElement,a,[]);G.forEach(ye=>{ye.namespaceId==this.id&&ye.triggerName==u&&ye.queued&&ye.destroy()});let te=E.matchTransition(d.value,m.value,a,m.params),me=!1;if(!te){if(!y)return;te=E.fallbackTransition,me=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:u,transition:te,fromState:d,toState:m,player:l,isFallbackTransition:me}),me||(Bt(a,ni),l.onStart(()=>{Ot(a,ni)})),l.onDone(()=>{let ye=this.players.indexOf(l);ye>=0&&this.players.splice(ye,1);const Fe=this._engine.playersByElement.get(a);if(Fe){let be=Fe.indexOf(l);be>=0&&Fe.splice(be,1)}}),this.players.push(l),G.push(l),l}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(u=>u.delete(a)),this._elementListeners.forEach((u,p)=>{this._elementListeners.set(p,u.filter(y=>y.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const u=this._engine.playersByElement.get(a);u&&(u.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,u){const p=this._engine.driver.query(a,Ne,!0);p.forEach(y=>{if(y[hn])return;const E=this._engine.fetchNamespacesByElement(y);E.size?E.forEach(l=>l.triggerLeaveAnimation(y,u,!1,!0)):this.clearElementCache(y)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(y=>this.clearElementCache(y)))}triggerLeaveAnimation(a,u,p,y){const E=this._engine.statesByElement.get(a),l=new Map;if(E){const f=[];if(E.forEach((d,m)=>{if(l.set(m,d.value),this._triggers.has(m)){const C=this.trigger(a,m,kn,y);C&&f.push(C)}}),f.length)return this._engine.markElementAsRemoved(this.id,a,!0,u,l),p&&mt(f).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const u=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(u&&p){const y=new Set;u.forEach(E=>{const l=E.name;if(y.has(l))return;y.add(l);const d=this._triggers.get(l).fallbackTransition,m=p.get(l)||ii,C=new Zt(kn),L=new As(this.id,l,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:d,fromState:m,toState:C,player:L,isFallbackTransition:!0})})}}removeNode(a,u){const p=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,u),this.triggerLeaveAnimation(a,u,!0))return;let y=!1;if(p.totalAnimations){const E=p.players.length?p.playersByQueriedElement.get(a):[];if(E&&E.length)y=!0;else{let l=a;for(;l=l.parentNode;)if(p.statesByElement.get(l)){y=!0;break}}}if(this.prepareLeaveAnimationListeners(a),y)p.markElementAsRemoved(this.id,a,!1,u);else{const E=a[hn];(!E||E===Is)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,u))}}insertNode(a,u){Bt(a,this._hostClassName)}drainQueuedTransitions(a){const u=[];return this._queue.forEach(p=>{const y=p.player;if(y.destroyed)return;const E=p.element,l=this._elementListeners.get(E);l&&l.forEach(f=>{if(f.name==p.triggerName){const d=tr(E,p.triggerName,p.fromState.value,p.toState.value);d._data=a,Mr(p.player,f.phase,d,f.callback)}}),y.markedForDestroy?this._engine.afterFlush(()=>{y.destroy()}):u.push(p)}),this._queue=[],u.sort((p,y)=>{const E=p.transition.ast.depCount,l=y.transition.ast.depCount;return 0==E||0==l?E-l:this._engine.driver.containsElement(p.element,y.element)?1:-1})}destroy(a){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let u=!1;return this._elementListeners.has(a)&&(u=!0),u=!!this._queue.find(p=>p.element===a)||u,u}}class Ts{constructor(a,u,p){this.bodyNode=a,this.driver=u,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(y,E)=>{}}_onRemovalComplete(a,u){this.onRemovalComplete(a,u)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(u=>{u.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,u){const p=new Ii(a,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(p,u):(this.newHostElements.set(u,p),this.collectEnterElement(u)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,u){const p=this._namespaceList,y=this.namespacesByHostElement;if(p.length-1>=0){let l=!1,f=this.driver.getParentElement(u);for(;f;){const d=y.get(f);if(d){const m=p.indexOf(d);p.splice(m+1,0,a),l=!0;break}f=this.driver.getParentElement(f)}l||p.unshift(a)}else p.push(a);return y.set(u,a),a}register(a,u){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,u)),p}registerTrigger(a,u,p){let y=this._namespaceLookup[a];y&&y.register(u,p)&&this.totalAnimations++}destroy(a,u){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const y=this._namespaceList.indexOf(p);y>=0&&this._namespaceList.splice(y,1)}),this.afterFlushAnimationsDone(()=>p.destroy(u))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const u=new Set,p=this.statesByElement.get(a);if(p)for(let y of p.values())if(y.namespaceId){const E=this._fetchNamespace(y.namespaceId);E&&u.add(E)}return u}trigger(a,u,p,y){if(Fr(u)){const E=this._fetchNamespace(a);if(E)return E.trigger(u,p,y),!0}return!1}insertNode(a,u,p,y){if(!Fr(u))return;const E=u[hn];if(E&&E.setForRemoval){E.setForRemoval=!1,E.setForMove=!0;const l=this.collectedLeaveElements.indexOf(u);l>=0&&this.collectedLeaveElements.splice(l,1)}if(a){const l=this._fetchNamespace(a);l&&l.insertNode(u,p)}y&&this.collectEnterElement(u)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,u){u?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Bt(a,Gr)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ot(a,Gr))}removeNode(a,u,p,y){if(Fr(u)){const E=a?this._fetchNamespace(a):null;if(E?E.removeNode(u,y):this.markElementAsRemoved(a,u,!1,y),p){const l=this.namespacesByHostElement.get(u);l&&l.id!==a&&l.removeNode(u,y)}}else this._onRemovalComplete(u,y)}markElementAsRemoved(a,u,p,y,E){this.collectedLeaveElements.push(u),u[hn]={namespaceId:a,setForRemoval:y,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:E}}listen(a,u,p,y,E){return Fr(u)?this._fetchNamespace(a).listen(u,p,y,E):()=>{}}_buildInstruction(a,u,p,y,E){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,y,a.fromState.options,a.toState.options,u,E)}destroyInnerAnimations(a){let u=this.driver.query(a,Ne,!0);u.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(a,Rt,!0),u.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const u=this.playersByElement.get(a);u&&u.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const u=this.playersByQueriedElement.get(a);u&&u.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return mt(this.players).onDone(()=>a());a()})}processLeaveNode(a){var u;const p=a[hn];if(p&&p.setForRemoval){if(a[hn]=Is,p.namespaceId){this.destroyInnerAnimations(a);const y=this._fetchNamespace(p.namespaceId);y&&y.clearElementCache(a)}this._onRemovalComplete(a,p.setForRemoval)}null!==(u=a.classList)&&void 0!==u&&u.contains(Gr)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(a=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,y)=>this._balanceNamespaceList(p,y)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)Bt(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{u=this._flushAnimations(p,a)}finally{for(let y=0;y<p.length;y++)p[y]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],u.length?mt(u).onDone(()=>{p.forEach(y=>y())}):p.forEach(y=>y())}}reportError(a){throw function Ft(v){return new _.vHH(3402,!1)}()}_flushAnimations(a,u){const p=new wt,y=[],E=new Map,l=[],f=new Map,d=new Map,m=new Map,C=new Set;this.disabledNodes.forEach(Se=>{C.add(Se);const Me=this.driver.query(Se,".ng-animate-queued",!0);for(let Le=0;Le<Me.length;Le++)C.add(Me[Le])});const L=this.bodyNode,G=Array.from(this.statesByElement.keys()),te=Wr(G,this.collectedEnterElements),me=new Map;let ye=0;te.forEach((Se,Me)=>{const Le=ht+ye++;me.set(Me,Le),Se.forEach(rt=>Bt(rt,Le))});const Fe=[],be=new Set,$e=new Set;for(let Se=0;Se<this.collectedLeaveElements.length;Se++){const Me=this.collectedLeaveElements[Se],Le=Me[hn];Le&&Le.setForRemoval&&(Fe.push(Me),be.add(Me),Le.hasAnimation?this.driver.query(Me,".ng-star-inserted",!0).forEach(rt=>be.add(rt)):$e.add(Me))}const We=new Map,Re=Wr(G,Array.from(be));Re.forEach((Se,Me)=>{const Le=Te+ye++;We.set(Me,Le),Se.forEach(rt=>Bt(rt,Le))}),a.push(()=>{te.forEach((Se,Me)=>{const Le=me.get(Me);Se.forEach(rt=>Ot(rt,Le))}),Re.forEach((Se,Me)=>{const Le=We.get(Me);Se.forEach(rt=>Ot(rt,Le))}),Fe.forEach(Se=>{this.processLeaveNode(Se)})});const qt=[],xt=[];for(let Se=this._namespaceList.length-1;Se>=0;Se--)this._namespaceList[Se].drainQueuedTransitions(u).forEach(Le=>{const rt=Le.player,bt=Le.element;if(qt.push(rt),this.collectedEnterElements.length){const Lt=bt[hn];if(Lt&&Lt.setForMove){if(Lt.previousTriggersValues&&Lt.previousTriggersValues.has(Le.triggerName)){const vr=Lt.previousTriggersValues.get(Le.triggerName),gn=this.statesByElement.get(Le.element);if(gn&&gn.has(Le.triggerName)){const Or=gn.get(Le.triggerName);Or.value=vr,gn.set(Le.triggerName,Or)}}return void rt.destroy()}}const sn=!L||!this.driver.containsElement(L,bt),en=We.get(bt),yr=me.get(bt),Dt=this._buildInstruction(Le,p,yr,en,sn);if(Dt.errors&&Dt.errors.length)return void xt.push(Dt);if(sn)return rt.onStart(()=>cn(bt,Dt.fromStyles)),rt.onDestroy(()=>nn(bt,Dt.toStyles)),void y.push(rt);if(Le.isFallbackTransition)return rt.onStart(()=>cn(bt,Dt.fromStyles)),rt.onDestroy(()=>nn(bt,Dt.toStyles)),void y.push(rt);const Aa=[];Dt.timelines.forEach(Lt=>{Lt.stretchStartingKeyframe=!0,this.disabledNodes.has(Lt.element)||Aa.push(Lt)}),Dt.timelines=Aa,p.append(bt,Dt.timelines),l.push({instruction:Dt,player:rt,element:bt}),Dt.queriedElements.forEach(Lt=>at(f,Lt,[]).push(rt)),Dt.preStyleProps.forEach((Lt,vr)=>{if(Lt.size){let gn=d.get(vr);gn||d.set(vr,gn=new Set),Lt.forEach((Or,Ri)=>gn.add(Ri))}}),Dt.postStyleProps.forEach((Lt,vr)=>{let gn=m.get(vr);gn||m.set(vr,gn=new Set),Lt.forEach((Or,Ri)=>gn.add(Ri))})});if(xt.length){const Se=[];xt.forEach(Me=>{Se.push(function gt(v,a){return new _.vHH(3505,!1)}())}),qt.forEach(Me=>Me.destroy()),this.reportError(Se)}const Ct=new Map,It=new Map;l.forEach(Se=>{const Me=Se.element;p.has(Me)&&(It.set(Me,Me),this._beforeAnimationBuild(Se.player.namespaceId,Se.instruction,Ct))}),y.forEach(Se=>{const Me=Se.element;this._getPreviousPlayers(Me,!1,Se.namespaceId,Se.triggerName,null).forEach(rt=>{at(Ct,Me,[]).push(rt),rt.destroy()})});const Qn=Fe.filter(Se=>dr(Se,d,m)),Xt=new Map;Ti(Xt,this.driver,$e,m,J.l3).forEach(Se=>{dr(Se,d,m)&&Qn.push(Se)});const pr=new Map;te.forEach((Se,Me)=>{Ti(pr,this.driver,new Set(Se),d,J.k1)}),Qn.forEach(Se=>{var Me,Le;const rt=Xt.get(Se),bt=pr.get(Se);Xt.set(Se,new Map([...Array.from(null!==(Me=rt?.entries())&&void 0!==Me?Me:[]),...Array.from(null!==(Le=bt?.entries())&&void 0!==Le?Le:[])]))});const gr=[],mr=[],Rs={};l.forEach(Se=>{const{element:Me,player:Le,instruction:rt}=Se;if(p.has(Me)){if(C.has(Me))return Le.onDestroy(()=>nn(Me,rt.toStyles)),Le.disabled=!0,Le.overrideTotalTime(rt.totalTime),void y.push(Le);let bt=Rs;if(It.size>1){let en=Me;const yr=[];for(;en=en.parentNode;){const Dt=It.get(en);if(Dt){bt=Dt;break}yr.push(en)}yr.forEach(Dt=>It.set(Dt,bt))}const sn=this._buildAnimation(Le.namespaceId,rt,Ct,E,pr,Xt);if(Le.setRealPlayer(sn),bt===Rs)gr.push(Le);else{const en=this.playersByElement.get(bt);en&&en.length&&(Le.parentPlayer=mt(en)),y.push(Le)}}else cn(Me,rt.fromStyles),Le.onDestroy(()=>nn(Me,rt.toStyles)),mr.push(Le),C.has(Me)&&y.push(Le)}),mr.forEach(Se=>{const Me=E.get(Se.element);if(Me&&Me.length){const Le=mt(Me);Se.setRealPlayer(Le)}}),y.forEach(Se=>{Se.parentPlayer?Se.syncPlayerEvents(Se.parentPlayer):Se.destroy()});for(let Se=0;Se<Fe.length;Se++){const Me=Fe[Se],Le=Me[hn];if(Ot(Me,Te),Le&&Le.hasAnimation)continue;let rt=[];if(f.size){let sn=f.get(Me);sn&&sn.length&&rt.push(...sn);let en=this.driver.query(Me,Rt,!0);for(let yr=0;yr<en.length;yr++){let Dt=f.get(en[yr]);Dt&&Dt.length&&rt.push(...Dt)}}const bt=rt.filter(sn=>!sn.destroyed);bt.length?Do(this,Me,bt):this.processLeaveNode(Me)}return Fe.length=0,gr.forEach(Se=>{this.players.push(Se),Se.onDone(()=>{Se.destroy();const Me=this.players.indexOf(Se);this.players.splice(Me,1)}),Se.play()}),gr}elementContainsData(a,u){let p=!1;const y=u[hn];return y&&y.setForRemoval&&(p=!0),this.playersByElement.has(u)&&(p=!0),this.playersByQueriedElement.has(u)&&(p=!0),this.statesByElement.has(u)&&(p=!0),this._fetchNamespace(a).elementContainsData(u)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,u,p,y,E){let l=[];if(u){const f=this.playersByQueriedElement.get(a);f&&(l=f)}else{const f=this.playersByElement.get(a);if(f){const d=!E||E==kn;f.forEach(m=>{m.queued||!d&&m.triggerName!=y||l.push(m)})}}return(p||y)&&(l=l.filter(f=>!(p&&p!=f.namespaceId||y&&y!=f.triggerName))),l}_beforeAnimationBuild(a,u,p){const E=u.element,l=u.isRemovalTransition?void 0:a,f=u.isRemovalTransition?void 0:u.triggerName;for(const d of u.timelines){const m=d.element,C=m!==E,L=at(p,m,[]);this._getPreviousPlayers(m,C,l,f,u.toState).forEach(te=>{const me=te.getRealPlayer();me.beforeDestroy&&me.beforeDestroy(),te.destroy(),L.push(te)})}cn(E,u.fromStyles)}_buildAnimation(a,u,p,y,E,l){const f=u.triggerName,d=u.element,m=[],C=new Set,L=new Set,G=u.timelines.map(me=>{const ye=me.element;C.add(ye);const Fe=ye[hn];if(Fe&&Fe.removedBeforeQueried)return new J.ZN(me.duration,me.delay);const be=ye!==d,$e=function Kr(v){const a=[];return Ai(v,a),a}((p.get(ye)||Ms).map(Ct=>Ct.getRealPlayer())).filter(Ct=>!!Ct.element&&Ct.element===ye),We=E.get(ye),Re=l.get(ye),qt=ot(0,this._normalizer,0,me.keyframes,We,Re),xt=this._buildPlayer(me,qt,$e);if(me.subTimeline&&y&&L.add(ye),be){const Ct=new As(a,f,ye);Ct.setRealPlayer(xt),m.push(Ct)}return xt});m.forEach(me=>{at(this.playersByQueriedElement,me.element,[]).push(me),me.onDone(()=>function nt(v,a,u){let p=v.get(a);if(p){if(p.length){const y=p.indexOf(u);p.splice(y,1)}0==p.length&&v.delete(a)}return p}(this.playersByQueriedElement,me.element,me))}),C.forEach(me=>Bt(me,Rn));const te=mt(G);return te.onDestroy(()=>{C.forEach(me=>Ot(me,Rn)),nn(d,u.toStyles)}),L.forEach(me=>{at(y,me,[]).push(te)}),te}_buildPlayer(a,u,p){return u.length>0?this.driver.animate(a.element,u,a.duration,a.delay,a.easing,p):new J.ZN(a.duration,a.delay)}}class As{constructor(a,u,p){this.namespaceId=a,this.triggerName=u,this.element=p,this._player=new J.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((u,p)=>{u.forEach(y=>Mr(a,p,void 0,y))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const u=this._player;u.triggerCallback&&a.onStart(()=>u.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,u){at(this._queuedCallbacks,a,[]).push(u)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const u=this._player;u.triggerCallback&&u.triggerCallback(a)}}function Fr(v){return v&&1===v.nodeType}function Jt(v,a){const u=v.style.display;return v.style.display=a??"none",u}function Ti(v,a,u,p,y){const E=[];u.forEach(d=>E.push(Jt(d)));const l=[];p.forEach((d,m)=>{const C=new Map;d.forEach(L=>{const G=a.computeStyle(m,L,y);C.set(L,G),(!G||0==G.length)&&(m[hn]=Mi,l.push(m))}),v.set(m,C)});let f=0;return u.forEach(d=>Jt(d,E[f++])),l}function Wr(v,a){const u=new Map;if(v.forEach(f=>u.set(f,[])),0==a.length)return u;const y=new Set(a),E=new Map;function l(f){if(!f)return 1;let d=E.get(f);if(d)return d;const m=f.parentNode;return d=u.has(m)?m:y.has(m)?1:l(m),E.set(f,d),d}return a.forEach(f=>{const d=l(f);1!==d&&u.get(d).push(f)}),u}function Bt(v,a){var u;null===(u=v.classList)||void 0===u||u.add(a)}function Ot(v,a){var u;null===(u=v.classList)||void 0===u||u.remove(a)}function Do(v,a,u){mt(u).onDone(()=>v.processLeaveNode(a))}function Ai(v,a){for(let u=0;u<v.length;u++){const p=v[u];p instanceof J.ZE?Ai(p.players,a):a.push(p)}}function dr(v,a,u){const p=u.get(v);if(!p)return!1;let y=a.get(v);return y?p.forEach(E=>y.add(E)):a.set(v,p),u.delete(v),!0}class fr{constructor(a,u,p){this.bodyNode=a,this._driver=u,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(y,E)=>{},this._transitionEngine=new Ts(a,u,p),this._timelineEngine=new qn(a,u,p),this._transitionEngine.onRemovalComplete=(y,E)=>this.onRemovalComplete(y,E)}registerTrigger(a,u,p,y,E){const l=a+"-"+y;let f=this._triggerCache[l];if(!f){const d=[],C=Gt(this._driver,E,d,[]);if(d.length)throw function A(v,a){return new _.vHH(3404,!1)}();f=function bi(v,a,u){return new Nr(v,a,u)}(y,C,this._normalizer),this._triggerCache[l]=f}this._transitionEngine.registerTrigger(u,y,f)}register(a,u){this._transitionEngine.register(a,u)}destroy(a,u){this._transitionEngine.destroy(a,u)}onInsert(a,u,p,y){this._transitionEngine.insertNode(a,u,p,y)}onRemove(a,u,p,y){this._transitionEngine.removeNode(a,u,y||!1,p)}disableAnimations(a,u){this._transitionEngine.markElementAsDisabled(a,u)}process(a,u,p,y){if("@"==p.charAt(0)){const[E,l]=Un(p);this._timelineEngine.command(E,u,l,y)}else this._transitionEngine.trigger(a,u,p,y)}listen(a,u,p,y,E){if("@"==p.charAt(0)){const[l,f]=Un(p);return this._timelineEngine.listen(l,u,f,E)}return this._transitionEngine.listen(a,u,p,y,E)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ps=(()=>{class v{constructor(u,p,y){this._element=u,this._startStyles=p,this._endStyles=y,this._state=0;let E=v.initialStylesByElement.get(u);E||v.initialStylesByElement.set(u,E=new Map),this._initialStyles=E}start(){this._state<1&&(this._startStyles&&nn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(nn(this._element,this._initialStyles),this._endStyles&&(nn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(v.initialStylesByElement.delete(this._element),this._startStyles&&(cn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(cn(this._element,this._endStyles),this._endStyles=null),nn(this._element,this._initialStyles),this._state=3)}}return v.initialStylesByElement=new WeakMap,v})();function Pi(v){let a=null;return v.forEach((u,p)=>{(function _o(v){return"display"===v||"position"===v})(p)&&(a=a||new Map,a.set(p,u))}),a}class Ni{constructor(a,u,p,y){this.element=a,this.keyframes=u,this.options=p,this._specialStyles=y,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const u=[];return a.forEach(p=>{u.push(Object.fromEntries(p))}),u}_triggerWebAnimation(a,u,p){return a.animate(this._convertKeyframesToObject(u),p)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,y)=>{"offset"!==y&&a.set(y,this._finished?p:Ke(this.element,y))}),this.currentSnapshot=a}triggerCallback(a){const u="start"===a?this._onStartFns:this._onDoneFns;u.forEach(p=>p()),u.length=0}}class Eo{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,u){return!1}containsElement(a,u){return we(a,u)}getParentElement(a){return Et(a)}query(a,u,p){return j(a,u,p)}computeStyle(a,u,p){return window.getComputedStyle(a)[u]}animate(a,u,p,y,E,l=[]){const d={duration:p,delay:y,fill:0==y?"both":"forwards"};E&&(d.easing=E);const m=new Map,C=l.filter(te=>te instanceof Ni);(function ze(v,a){return 0===v||0===a})(p,y)&&C.forEach(te=>{te.currentSnapshot.forEach((me,ye)=>m.set(ye,me))});let L=function zt(v){return v.length?v[0]instanceof Map?v:v.map(a=>tn(a)):[]}(u).map(te=>Dn(te));L=function ct(v,a,u){if(u.size&&a.length){let p=a[0],y=[];if(u.forEach((E,l)=>{p.has(l)||y.push(l),p.set(l,E)}),y.length)for(let E=1;E<a.length;E++){let l=a[E];y.forEach(f=>l.set(f,Ke(v,f)))}}return a}(a,L,m);const G=function qe(v,a){let u=null,p=null;return Array.isArray(a)&&a.length?(u=Pi(a[0]),a.length>1&&(p=Pi(a[a.length-1]))):a instanceof Map&&(u=Pi(a)),u||p?new Ps(v,u,p):null}(a,L);return new Ni(a,L,d,G)}}var oi=N(4666);let wo=(()=>{class v extends J._j{constructor(u,p){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(p.body,{id:"0",encapsulation:_.ifc.None,styles:[],data:{animation:[]}})}build(u){const p=this._nextAnimationId.toString();this._nextAnimationId++;const y=Array.isArray(u)?(0,J.vP)(u):u;return it(this._renderer,null,p,"register",[y]),new Ns(p,this._renderer)}}return v.\u0275fac=function(u){return new(u||v)(_.LFG(_.FYo),_.LFG(oi.K0))},v.\u0275prov=_.Yz7({token:v,factory:v.\u0275fac}),v})();class Ns extends J.LC{constructor(a,u){super(),this._id=a,this._renderer=u}create(a,u){return new ie(this._id,a,u||{},this._renderer)}}class ie{constructor(a,u,p,y){this.id=a,this.element=u,this._renderer=y,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,u){return this._renderer.listen(this.element,`@@${this.id}:${a}`,u)}_command(a,...u){return it(this._renderer,this.element,this.id,a,u)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){var a,u;return null!==(a=null===(u=this._renderer.engine.players[+this.id])||void 0===u?void 0:u.getPosition())&&void 0!==a?a:0}}function it(v,a,u,p,y){return v.setProperty(a,`@@${u}:${p}`,y)}const ai="@.disabled";let Mt=(()=>{class v{constructor(u,p,y){this.delegate=u,this.engine=p,this._zone=y,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(E,l)=>{const f=l?.parentNode(E);f&&l.removeChild(f,E)}}createRenderer(u,p){const E=this.delegate.createRenderer(u,p);if(!(u&&p&&p.data&&p.data.animation)){let C=this._rendererCache.get(E);return C||(C=new Rr("",E,this.engine,()=>this._rendererCache.delete(E)),this._rendererCache.set(E,C)),C}const l=p.id,f=p.id+"-"+this._currentId;this._currentId++,this.engine.register(f,u);const d=C=>{Array.isArray(C)?C.forEach(d):this.engine.registerTrigger(l,f,u,C.name,C)};return p.data.animation.forEach(d),new Mn(this,f,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,p,y){u>=0&&u<this._microtaskId?this._zone.run(()=>p(y)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(E=>{const[l,f]=E;l(f)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,y]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return v.\u0275fac=function(u){return new(u||v)(_.LFG(_.FYo),_.LFG(fr),_.LFG(_.R0b))},v.\u0275prov=_.Yz7({token:v,factory:v.\u0275fac}),v})();class Rr{constructor(a,u,p,y){this.namespaceId=a,this.delegate=u,this.engine=p,this._onDestroy=y,this.destroyNode=this.delegate.destroyNode?E=>u.destroyNode(E):null}get data(){return this.delegate.data}destroy(){var a;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(a=this._onDestroy)||void 0===a||a.call(this)}createElement(a,u){return this.delegate.createElement(a,u)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,u){this.delegate.appendChild(a,u),this.engine.onInsert(this.namespaceId,u,a,!1)}insertBefore(a,u,p,y=!0){this.delegate.insertBefore(a,u,p),this.engine.onInsert(this.namespaceId,u,a,y)}removeChild(a,u,p){this.engine.onRemove(this.namespaceId,u,this.delegate,p)}selectRootElement(a,u){return this.delegate.selectRootElement(a,u)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,u,p,y){this.delegate.setAttribute(a,u,p,y)}removeAttribute(a,u,p){this.delegate.removeAttribute(a,u,p)}addClass(a,u){this.delegate.addClass(a,u)}removeClass(a,u){this.delegate.removeClass(a,u)}setStyle(a,u,p,y){this.delegate.setStyle(a,u,p,y)}removeStyle(a,u,p){this.delegate.removeStyle(a,u,p)}setProperty(a,u,p){"@"==u.charAt(0)&&u==ai?this.disableAnimations(a,!!p):this.delegate.setProperty(a,u,p)}setValue(a,u){this.delegate.setValue(a,u)}listen(a,u,p){return this.delegate.listen(a,u,p)}disableAnimations(a,u){this.engine.disableAnimations(a,u)}}class Mn extends Rr{constructor(a,u,p,y,E){super(u,p,y,E),this.factory=a,this.namespaceId=u}setProperty(a,u,p){"@"==u.charAt(0)?"."==u.charAt(1)&&u==ai?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,u.slice(1),p):this.delegate.setProperty(a,u,p)}listen(a,u,p){if("@"==u.charAt(0)){const y=function pn(v){switch(v){case"body":return document.body;case"document":return document;case"window":return window;default:return v}}(a);let E=u.slice(1),l="";return"@"!=E.charAt(0)&&([E,l]=function qr(v){const a=v.indexOf(".");return[v.substring(0,a),v.slice(a+1)]}(E)),this.engine.listen(this.namespaceId,y,E,l,f=>{this.factory.scheduleListenerCallback(f._data||-1,p,f)})}return this.delegate.listen(a,u,p)}}const bo=[{provide:J._j,useClass:wo},{provide:wi,useFactory:function Ta(){return new po}},{provide:fr,useClass:(()=>{class v extends fr{constructor(u,p,y,E){super(u.body,p,y)}ngOnDestroy(){this.flush()}}return v.\u0275fac=function(u){return new(u||v)(_.LFG(oi.K0),_.LFG(oe),_.LFG(wi),_.LFG(_.z2F))},v.\u0275prov=_.Yz7({token:v,factory:v.\u0275fac}),v})()},{provide:_.FYo,useFactory:function Co(v,a,u){return new Mt(v,a,u)},deps:[I.se,fr,_.R0b]}],li=[{provide:oe,useFactory:()=>new Eo},{provide:_.QbO,useValue:"BrowserAnimations"},...bo],Vt=[{provide:oe,useClass:R},{provide:_.QbO,useValue:"NoopAnimations"},...bo];let Hn=(()=>{class v{static withConfig(u){return{ngModule:v,providers:u.disableAnimations?Vt:li}}}return v.\u0275fac=function(u){return new(u||v)},v.\u0275mod=_.oAB({type:v}),v.\u0275inj=_.cJS({providers:li,imports:[I.b2]}),v})()},4497:(Ze,de,N)=>{N.d(de,{H7:()=>cn,b2:()=>Ir,q6:()=>un,se:()=>x});var _=N(4666),I=N(3210);class J extends _.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ue extends J{static makeCurrent(){(0,_.HT)(new ue)}onAndCancel(O,b,k){return O.addEventListener(b,k,!1),()=>{O.removeEventListener(b,k,!1)}}dispatchEvent(O,b){O.dispatchEvent(b)}remove(O){O.parentNode&&O.parentNode.removeChild(O)}createElement(O,b){return(b=b||this.getDefaultDocument()).createElement(O)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(O){return O.nodeType===Node.ELEMENT_NODE}isShadowRoot(O){return O instanceof DocumentFragment}getGlobalEventTarget(O,b){return"window"===b?window:"document"===b?O:"body"===b?O.body:null}getBaseHref(O){const b=function pe(){return ne=ne||document.querySelector("base"),ne?ne.getAttribute("href"):null}();return null==b?null:function Oe(V){Ee=Ee||document.createElement("a"),Ee.setAttribute("href",V);const O=Ee.pathname;return"/"===O.charAt(0)?O:`/${O}`}(b)}resetBaseElement(){ne=null}getUserAgent(){return window.navigator.userAgent}getCookie(O){return(0,_.Mx)(document.cookie,O)}}let Ee,ne=null;const ge=new I.OlP("TRANSITION_ID"),Y=[{provide:I.ip1,useFactory:function ce(V,O,b){return()=>{b.get(I.CZH).donePromise.then(()=>{const k=(0,_.q)(),Q=O.querySelectorAll(`style[ng-transition="${V}"]`);for(let xe=0;xe<Q.length;xe++)k.remove(Q[xe])})}},deps:[ge,_.K0,I.zs3],multi:!0}];let Qe=(()=>{class V{build(){return new XMLHttpRequest}}return V.\u0275fac=function(b){return new(b||V)},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();const ee=new I.OlP("EventManagerPlugins");let je=(()=>{class V{constructor(b,k){this._zone=k,this._eventNameToPlugin=new Map,b.forEach(Q=>Q.manager=this),this._plugins=b.slice().reverse()}addEventListener(b,k,Q){return this._findPluginFor(k).addEventListener(b,k,Q)}addGlobalEventListener(b,k,Q){return this._findPluginFor(k).addGlobalEventListener(b,k,Q)}getZone(){return this._zone}_findPluginFor(b){const k=this._eventNameToPlugin.get(b);if(k)return k;const Q=this._plugins;for(let xe=0;xe<Q.length;xe++){const ze=Q[xe];if(ze.supports(b))return this._eventNameToPlugin.set(b,ze),ze}throw new Error(`No event manager plugin found for event ${b}`)}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(ee),I.LFG(I.R0b))},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();class _e{constructor(O){this._doc=O}addGlobalEventListener(O,b,k){const Q=(0,_.q)().getGlobalEventTarget(this._doc,O);if(!Q)throw new Error(`Unsupported event target ${Q} for event ${b}`);return this.addEventListener(Q,b,k)}}let Pe=(()=>{class V{constructor(){this._stylesSet=new Set}addStyles(b){const k=new Set;b.forEach(Q=>{this._stylesSet.has(Q)||(this._stylesSet.add(Q),k.add(Q))}),this.onStylesAdded(k)}onStylesAdded(b){}getAllStyles(){return Array.from(this._stylesSet)}}return V.\u0275fac=function(b){return new(b||V)},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})(),Xe=(()=>{class V extends Pe{constructor(b){super(),this._doc=b,this._hostNodes=new Map,this._hostNodes.set(b.head,[])}_addStylesToHost(b,k,Q){b.forEach(xe=>{const ze=this._doc.createElement("style");ze.textContent=xe,Q.push(k.appendChild(ze))})}addHost(b){const k=[];this._addStylesToHost(this._stylesSet,b,k),this._hostNodes.set(b,k)}removeHost(b){const k=this._hostNodes.get(b);k&&k.forEach(Je),this._hostNodes.delete(b)}onStylesAdded(b){this._hostNodes.forEach((k,Q)=>{this._addStylesToHost(b,Q,k)})}ngOnDestroy(){this._hostNodes.forEach(b=>b.forEach(Je))}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(_.K0))},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();function Je(V){(0,_.q)().remove(V)}const fe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},re=/%COMP%/g,B="%COMP%",U=`_nghost-${B}`,S=`_ngcontent-${B}`;function A(V,O,b){for(let k=0;k<O.length;k++){let Q=O[k];Array.isArray(Q)?A(V,Q,b):(Q=Q.replace(re,V),b.push(Q))}return b}function F(V){return O=>{if("__ngUnwrap__"===O)return V;!1===V(O)&&(O.preventDefault(),O.returnValue=!1)}}let x=(()=>{class V{constructor(b,k,Q){this.eventManager=b,this.sharedStylesHost=k,this.appId=Q,this.rendererByCompId=new Map,this.defaultRenderer=new q(b)}createRenderer(b,k){if(!b||!k)return this.defaultRenderer;switch(k.encapsulation){case I.ifc.Emulated:{let Q=this.rendererByCompId.get(k.id);return Q||(Q=new dt(this.eventManager,this.sharedStylesHost,k,this.appId),this.rendererByCompId.set(k.id,Q)),Q.applyToHost(b),Q}case 1:case I.ifc.ShadowDom:return new Ue(this.eventManager,this.sharedStylesHost,b,k);default:if(!this.rendererByCompId.has(k.id)){const Q=A(k.id,k.styles,[]);this.sharedStylesHost.addStyles(Q),this.rendererByCompId.set(k.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(je),I.LFG(Xe),I.LFG(I.AFp))},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();class q{constructor(O){this.eventManager=O,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(O,b){return b?document.createElementNS(fe[b]||b,O):document.createElement(O)}createComment(O){return document.createComment(O)}createText(O){return document.createTextNode(O)}appendChild(O,b){(ke(O)?O.content:O).appendChild(b)}insertBefore(O,b,k){O&&(ke(O)?O.content:O).insertBefore(b,k)}removeChild(O,b){O&&O.removeChild(b)}selectRootElement(O,b){let k="string"==typeof O?document.querySelector(O):O;if(!k)throw new Error(`The selector "${O}" did not match any elements`);return b||(k.textContent=""),k}parentNode(O){return O.parentNode}nextSibling(O){return O.nextSibling}setAttribute(O,b,k,Q){if(Q){b=Q+":"+b;const xe=fe[Q];xe?O.setAttributeNS(xe,b,k):O.setAttribute(b,k)}else O.setAttribute(b,k)}removeAttribute(O,b,k){if(k){const Q=fe[k];Q?O.removeAttributeNS(Q,b):O.removeAttribute(`${k}:${b}`)}else O.removeAttribute(b)}addClass(O,b){O.classList.add(b)}removeClass(O,b){O.classList.remove(b)}setStyle(O,b,k,Q){Q&(I.JOm.DashCase|I.JOm.Important)?O.style.setProperty(b,k,Q&I.JOm.Important?"important":""):O.style[b]=k}removeStyle(O,b,k){k&I.JOm.DashCase?O.style.removeProperty(b):O.style[b]=""}setProperty(O,b,k){O[b]=k}setValue(O,b){O.nodeValue=b}listen(O,b,k){return"string"==typeof O?this.eventManager.addGlobalEventListener(O,b,F(k)):this.eventManager.addEventListener(O,b,F(k))}}function ke(V){return"TEMPLATE"===V.tagName&&void 0!==V.content}class dt extends q{constructor(O,b,k,Q){super(O),this.component=k;const xe=A(Q+"-"+k.id,k.styles,[]);b.addStyles(xe),this.contentAttr=function T(V){return S.replace(re,V)}(Q+"-"+k.id),this.hostAttr=function W(V){return U.replace(re,V)}(Q+"-"+k.id)}applyToHost(O){super.setAttribute(O,this.hostAttr,"")}createElement(O,b){const k=super.createElement(O,b);return super.setAttribute(k,this.contentAttr,""),k}}class Ue extends q{constructor(O,b,k,Q){super(O),this.sharedStylesHost=b,this.hostEl=k,this.shadowRoot=k.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xe=A(Q.id,Q.styles,[]);for(let ze=0;ze<xe.length;ze++){const ct=document.createElement("style");ct.textContent=xe[ze],this.shadowRoot.appendChild(ct)}}nodeOrShadowRoot(O){return O===this.hostEl?this.shadowRoot:O}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(O,b){return super.appendChild(this.nodeOrShadowRoot(O),b)}insertBefore(O,b,k){return super.insertBefore(this.nodeOrShadowRoot(O),b,k)}removeChild(O,b){return super.removeChild(this.nodeOrShadowRoot(O),b)}parentNode(O){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(O)))}}let Ft=(()=>{class V extends _e{constructor(b){super(b)}supports(b){return!0}addEventListener(b,k,Q){return b.addEventListener(k,Q,!1),()=>this.removeEventListener(b,k,Q)}removeEventListener(b,k,Q){return b.removeEventListener(k,Q)}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(_.K0))},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();const wn=["alt","control","meta","shift"],gt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Qt={alt:V=>V.altKey,control:V=>V.ctrlKey,meta:V=>V.metaKey,shift:V=>V.shiftKey};let ln=(()=>{class V extends _e{constructor(b){super(b)}supports(b){return null!=V.parseEventName(b)}addEventListener(b,k,Q){const xe=V.parseEventName(k),ze=V.eventCallback(xe.fullKey,Q,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.q)().onAndCancel(b,xe.domEventName,ze))}static parseEventName(b){const k=b.toLowerCase().split("."),Q=k.shift();if(0===k.length||"keydown"!==Q&&"keyup"!==Q)return null;const xe=V._normalizeKey(k.pop());let ze="",ct=k.indexOf("code");if(ct>-1&&(k.splice(ct,1),ze="code."),wn.forEach(Ke=>{const lt=k.indexOf(Ke);lt>-1&&(k.splice(lt,1),ze+=Ke+".")}),ze+=xe,0!=k.length||0===xe.length)return null;const le={};return le.domEventName=Q,le.fullKey=ze,le}static matchEventFullKeyCode(b,k){let Q=gt[b.key]||b.key,xe="";return k.indexOf("code.")>-1&&(Q=b.code,xe="code."),!(null==Q||!Q)&&(Q=Q.toLowerCase()," "===Q?Q="space":"."===Q&&(Q="dot"),wn.forEach(ze=>{ze!==Q&&(0,Qt[ze])(b)&&(xe+=ze+".")}),xe+=Q,xe===k)}static eventCallback(b,k,Q){return xe=>{V.matchEventFullKeyCode(xe,b)&&Q.runGuarded(()=>k(xe))}}static _normalizeKey(b){return"esc"===b?"escape":b}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(_.K0))},V.\u0275prov=I.Yz7({token:V,factory:V.\u0275fac}),V})();const un=(0,I.eFA)(I._c5,"browser",[{provide:I.Lbi,useValue:_.bD},{provide:I.g9A,useValue:function tr(){ue.makeCurrent()},multi:!0},{provide:_.K0,useFactory:function Un(){return(0,I.RDi)(document),document},deps:[]}]),nr=new I.OlP(""),Et=[{provide:I.rWj,useClass:class De{addToWindow(O){I.dqk.getAngularTestability=(k,Q=!0)=>{const xe=O.findTestabilityInTree(k,Q);if(null==xe)throw new Error("Could not find testability for element.");return xe},I.dqk.getAllAngularTestabilities=()=>O.getAllTestabilities(),I.dqk.getAllAngularRootElements=()=>O.getAllRootElements(),I.dqk.frameworkStabilizers||(I.dqk.frameworkStabilizers=[]),I.dqk.frameworkStabilizers.push(k=>{const Q=I.dqk.getAllAngularTestabilities();let xe=Q.length,ze=!1;const ct=function(le){ze=ze||le,xe--,0==xe&&k(ze)};Q.forEach(function(le){le.whenStable(ct)})})}findTestabilityInTree(O,b,k){return null==b?null:O.getTestability(b)??(k?(0,_.q)().isShadowRoot(b)?this.findTestabilityInTree(O,b.host,!0):this.findTestabilityInTree(O,b.parentElement,!0):null)}},deps:[]},{provide:I.lri,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]},{provide:I.dDg,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]}],Cn=[{provide:I.zSh,useValue:"root"},{provide:I.qLn,useFactory:function at(){return new I.qLn},deps:[]},{provide:ee,useClass:Ft,multi:!0,deps:[_.K0,I.R0b,I.Lbi]},{provide:ee,useClass:ln,multi:!0,deps:[_.K0]},{provide:x,useClass:x,deps:[je,Xe,I.AFp]},{provide:I.FYo,useExisting:x},{provide:Pe,useExisting:Xe},{provide:Xe,useClass:Xe,deps:[_.K0]},{provide:je,useClass:je,deps:[ee,I.R0b]},{provide:_.JF,useClass:Qe,deps:[]},[]];let Ir=(()=>{class V{constructor(b){}static withServerTransition(b){return{ngModule:V,providers:[{provide:I.AFp,useValue:b.appId},{provide:ge,useExisting:I.AFp},Y]}}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(nr,12))},V.\u0275mod=I.oAB({type:V}),V.\u0275inj=I.cJS({providers:[...Cn,...Et],imports:[_.ez,I.hGG]}),V})();typeof window<"u"&&window;let cn=(()=>{class V{}return V.\u0275fac=function(b){return new(b||V)},V.\u0275prov=I.Yz7({token:V,factory:function(b){let k=null;return k=b?new(b||V):I.LFG(Ur),k},providedIn:"root"}),V})(),Ur=(()=>{class V extends cn{constructor(b){super(),this._doc=b}sanitize(b,k){if(null==k)return null;switch(b){case I.q3G.NONE:return k;case I.q3G.HTML:return(0,I.qzn)(k,"HTML")?(0,I.z3N)(k):(0,I.EiD)(this._doc,String(k)).toString();case I.q3G.STYLE:return(0,I.qzn)(k,"Style")?(0,I.z3N)(k):k;case I.q3G.SCRIPT:if((0,I.qzn)(k,"Script"))return(0,I.z3N)(k);throw new Error("unsafe value used in a script context");case I.q3G.URL:return(0,I.qzn)(k,"URL")?(0,I.z3N)(k):(0,I.mCW)(String(k));case I.q3G.RESOURCE_URL:if((0,I.qzn)(k,"ResourceURL"))return(0,I.z3N)(k);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${b} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(b){return(0,I.JVY)(b)}bypassSecurityTrustStyle(b){return(0,I.L6k)(b)}bypassSecurityTrustScript(b){return(0,I.eBb)(b)}bypassSecurityTrustUrl(b){return(0,I.LAX)(b)}bypassSecurityTrustResourceUrl(b){return(0,I.pB0)(b)}}return V.\u0275fac=function(b){return new(b||V)(I.LFG(_.K0))},V.\u0275prov=I.Yz7({token:V,factory:function(b){let k=null;return k=b?new b:function _n(V){return new Ur(V.get(_.K0))}(I.LFG(I.zs3)),k},providedIn:"root"}),V})()}}]);
//# sourceMappingURL=vendor.838dfbb9fef08692.js.map